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

From: Christoph Hellwig
Date: Mon Nov 30 2020 - 03:29:12 EST


On Tue, Nov 24, 2020 at 04:38:42PM +0100, Ricardo Ribalda wrote:
> From: Christoph Hellwig <hch@xxxxxx>
>
> 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 <hch@xxxxxx>

It turns out this isn't really required for the series. I think it is
a useful cleanup, but it should probably be picked up separately.

Robin, any comments?