summaryrefslogtreecommitdiffstats
path: root/kernel/include/asm-generic/pci-dma-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/asm-generic/pci-dma-compat.h')
-rw-r--r--kernel/include/asm-generic/pci-dma-compat.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/include/asm-generic/pci-dma-compat.h b/kernel/include/asm-generic/pci-dma-compat.h
index c110843fc..eafce7b6f 100644
--- a/kernel/include/asm-generic/pci-dma-compat.h
+++ b/kernel/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)