提交 247e75db 编写于 作者: C Christoph Hellwig 提交者: Linus Torvalds

pci: remove pci_dma_supported

Signed-off-by: NChristoph Hellwig <hch@lst.de>
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
Cc: Helge Deller <deller@gmx.de>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 704c16db
...@@ -704,8 +704,6 @@ ccio_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt) ...@@ -704,8 +704,6 @@ ccio_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt)
* ccio_dma_supported - Verify the IOMMU supports the DMA address range. * ccio_dma_supported - Verify the IOMMU supports the DMA address range.
* @dev: The PCI device. * @dev: The PCI device.
* @mask: A bit mask describing the DMA address range of the device. * @mask: A bit mask describing the DMA address range of the device.
*
* This function implements the pci_dma_supported function.
*/ */
static int static int
ccio_dma_supported(struct device *dev, u64 mask) ccio_dma_supported(struct device *dev, u64 mask)
......
...@@ -6,12 +6,6 @@ ...@@ -6,12 +6,6 @@
#include <linux/dma-mapping.h> #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 * static inline void *
pci_alloc_consistent(struct pci_dev *hwdev, size_t size, pci_alloc_consistent(struct pci_dev *hwdev, size_t size,
dma_addr_t *dma_handle) dma_addr_t *dma_handle)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册