summaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-11-10 14:45:50 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-10 16:32:11 -0800
commit247e75dba60140395cd7e808d32f76f208bedf76 (patch)
tree1f230adaaffd472ba75373e9d4b9db23efdb34eb /include/asm-generic
parent704c16db0e055e9a2acd4a5353e92b1ae4408a90 (diff)
downloadblackbird-op-linux-247e75dba60140395cd7e808d32f76f208bedf76.tar.gz
blackbird-op-linux-247e75dba60140395cd7e808d32f76f208bedf76.zip
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/asm-generic')
-rw-r--r--include/asm-generic/pci-dma-compat.h6
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)
OpenPOWER on IntegriCloud