OSDN Git Service

net: remove the PCI_DMA_BUS_IS_PHYS check in illegal_highdma
authorChristoph Hellwig <hch@lst.de>
Tue, 3 Apr 2018 18:31:35 +0000 (20:31 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 7 May 2018 05:15:41 +0000 (07:15 +0200)
commitab74cfebafa3b71caa1e82793032b4867dcf5ea6
tree2c2bdf774f6e393e967b349b54ddda7ec9d4aab3
parent164c3d091292130c82306c97718b2d90534b8897
net: remove the PCI_DMA_BUS_IS_PHYS check in illegal_highdma

These days the dma mapping routines must be able to handle any address
supported by the device, be that using an iommu, or swiotlb if none is
supported.  With that the PCI_DMA_BUS_IS_PHYS check in illegal_highdma
is not needed and can be removed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: David S. Miller <davem@davemloft.net>
net/core/dev.c