diff options
-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) |