diff options
author | Christoph Hellwig <hch@lst.de> | 2015-11-10 17:45:50 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-10 19:32:11 -0500 |
commit | 247e75dba60140395cd7e808d32f76f208bedf76 (patch) | |
tree | 1f230adaaffd472ba75373e9d4b9db23efdb34eb | |
parent | 704c16db0e055e9a2acd4a5353e92b1ae4408a90 (diff) |
pci: remove pci_dma_supported
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
Cc: Helge Deller <deller@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/parisc/ccio-dma.c | 2 | ||||
-rw-r--r-- | include/asm-generic/pci-dma-compat.h | 6 |
2 files changed, 0 insertions, 8 deletions
diff --git a/drivers/parisc/ccio-dma.c b/drivers/parisc/ccio-dma.c index 957b42198328..8e11fb2831cd 100644 --- a/drivers/parisc/ccio-dma.c +++ b/drivers/parisc/ccio-dma.c | |||
@@ -704,8 +704,6 @@ ccio_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt) | |||
704 | * ccio_dma_supported - Verify the IOMMU supports the DMA address range. | 704 | * ccio_dma_supported - Verify the IOMMU supports the DMA address range. |
705 | * @dev: The PCI device. | 705 | * @dev: The PCI device. |
706 | * @mask: A bit mask describing the DMA address range of the device. | 706 | * @mask: A bit mask describing the DMA address range of the device. |
707 | * | ||
708 | * This function implements the pci_dma_supported function. | ||
709 | */ | 707 | */ |
710 | static int | 708 | static int |
711 | ccio_dma_supported(struct device *dev, u64 mask) | 709 | ccio_dma_supported(struct device *dev, u64 mask) |
diff --git a/include/asm-generic/pci-dma-compat.h b/include/asm-generic/pci-dma-compat.h index c110843fc53b..eafce7b6f052 100644 --- a/include/asm-generic/pci-dma-compat.h +++ b/include/asm-generic/pci-dma-compat.h | |||
@@ -6,12 +6,6 @@ | |||
6 | 6 | ||
7 | #include <linux/dma-mapping.h> | 7 | #include <linux/dma-mapping.h> |
8 | 8 | ||
9 | static inline int | ||
10 | pci_dma_supported(struct pci_dev *hwdev, u64 mask) | ||
11 | { | ||
12 | return dma_supported(hwdev == NULL ? NULL : &hwdev->dev, mask); | ||
13 | } | ||
14 | |||
15 | static inline void * | 9 | static inline void * |
16 | pci_alloc_consistent(struct pci_dev *hwdev, size_t size, | 10 | pci_alloc_consistent(struct pci_dev *hwdev, size_t size, |
17 | dma_addr_t *dma_handle) | 11 | dma_addr_t *dma_handle) |