]> git.baikalelectronics.ru Git - kernel.git/commit
dma-iommu: remove __iommu_dma_mmap
authorChristoph Hellwig <hch@lst.de>
Wed, 9 Dec 2020 11:20:19 +0000 (12:20 +0100)
committerWill Deacon <will@kernel.org>
Wed, 9 Dec 2020 11:40:26 +0000 (11:40 +0000)
commitce311189ed4a642876a6d4b368f714193fc8beaf
tree3939b9cf702e443ad4c9133a7b55dada78af26c6
parent07913d2911677836ac3edb110a7c559d28bf0173
dma-iommu: remove __iommu_dma_mmap

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@lst.de>
Link: https://lore.kernel.org/r/20201209112019.2625029-1-hch@lst.de
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/dma-iommu.c