X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fasm-generic%2Fpci-dma-compat.h;h=eafce7b6f052384c549a1c10f20f09b5356a6f04;hb=1a4c530d6d8b41c6fbfea736505e498a13544331;hp=c110843fc53b3f80174496148df8798c866db1b5;hpb=e2627dce268024aff962132057cb8acb219c9c40;p=karo-tx-linux.git 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 -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)