Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 247e75db authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds
Browse files

pci: remove pci_dma_supported



Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
Cc: Helge Deller <deller@gmx.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 704c16db
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -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)
+0 −6
Original line number Original line Diff line number Diff line
@@ -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)