Re: [PATCH 3/6] dma-iommu: remove __iommu_dma_mmap

2020-11-30 Thread Christoph Hellwig
On Tue, Nov 24, 2020 at 04:38:42PM +0100, Ricardo Ribalda wrote: > From: Christoph Hellwig > > The function has a single caller, so open code it there and take > advantage of the precalculated page count variable. > > Signed-off-by: Christoph Hellwig It turns out this isn't really required

[PATCH 3/6] dma-iommu: remove __iommu_dma_mmap

2020-11-24 Thread Ricardo Ribalda
From: Christoph Hellwig The function has a single caller, so open code it there and take advantage of the precalculated page count variable. Signed-off-by: Christoph Hellwig --- drivers/iommu/dma-iommu.c | 17 + 1 file changed, 1 insertion(+), 16 deletions(-) diff --git