aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci-dma.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-10-09 16:08:22 +0200
committerBjorn Helgaas <bhelgaas@google.com>2018-10-10 15:45:45 -0500
commit18b01b16e8bae9cd227909f6e6d2783d74855f65 (patch)
tree0966d6744d7cfb16699ea4f1d6ac23bb9910f4b8 /include/linux/pci-dma.h
parentPCI / ACPI: Mark expected switch fall-through (diff)
downloadlinux-dev-18b01b16e8bae9cd227909f6e6d2783d74855f65.tar.xz
linux-dev-18b01b16e8bae9cd227909f6e6d2783d74855f65.zip
PCI: Remove pci_unmap_addr() wrappers for DMA API
Only some of these were still used by the cxgb4 driver, and that despite the fact that the driver otherwise uses the generic DMA API. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/pci-dma.h')
-rw-r--r--include/linux/pci-dma.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/pci-dma.h b/include/linux/pci-dma.h
deleted file mode 100644
index 0f7aa7353ca3..000000000000
--- a/include/linux/pci-dma.h
+++ /dev/null
@@ -1,12 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef _LINUX_PCI_DMA_H
-#define _LINUX_PCI_DMA_H
-
-#define DECLARE_PCI_UNMAP_ADDR(ADDR_NAME) DEFINE_DMA_UNMAP_ADDR(ADDR_NAME);
-#define DECLARE_PCI_UNMAP_LEN(LEN_NAME) DEFINE_DMA_UNMAP_LEN(LEN_NAME);
-#define pci_unmap_addr dma_unmap_addr
-#define pci_unmap_addr_set dma_unmap_addr_set
-#define pci_unmap_len dma_unmap_len
-#define pci_unmap_len_set dma_unmap_len_set
-
-#endif