diff options
author | Christoph Hellwig | 2015-11-10 14:45:50 -0800 |
---|---|---|
committer | Linus Torvalds | 2015-11-10 16:32:11 -0800 |
commit | 247e75dba60140395cd7e808d32f76f208bedf76 (patch) | |
tree | 1f230adaaffd472ba75373e9d4b9db23efdb34eb /include | |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-generic/pci-dma-compat.h | 6 |
1 files changed, 0 insertions, 6 deletions
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 @@ #include <linux/dma-mapping.h> -static inline int -pci_dma_supported(struct pci_dev *hwdev, u64 mask) -{ - return dma_supported(hwdev == NULL ? NULL : &hwdev->dev, mask); -} - static inline void * pci_alloc_consistent(struct pci_dev *hwdev, size_t size, dma_addr_t *dma_handle) |