Re: [PATCH 1/9] iommu/amd: Remove map_sg_no_iommu()

2013-04-10 Thread Shuah Khan
On Tue, Apr 9, 2013 at 2:12 PM, Joerg Roedel wrote: > This function was intended as a fall-back if the map_sg > function is called for a device not mapped by the IOMMU. > Since the AMD IOMMU driver uses per-device dma_ops this can > never happen. So this function isn't needed anymore. > > Signed-o

[PATCH 1/9] iommu/amd: Remove map_sg_no_iommu()

2013-04-09 Thread Joerg Roedel
This function was intended as a fall-back if the map_sg function is called for a device not mapped by the IOMMU. Since the AMD IOMMU driver uses per-device dma_ops this can never happen. So this function isn't needed anymore. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu.c | 22 +