]> www.infradead.org Git - users/dwmw2/linux.git/commit
iommu/dma: Prune redundant pgprot arguments
authorRobin Murphy <robin.murphy@arm.com>
Tue, 4 Jun 2024 12:39:09 +0000 (13:39 +0100)
committerJoerg Roedel <jroedel@suse.de>
Thu, 13 Jun 2024 09:17:33 +0000 (11:17 +0200)
commit8d485a69603f667032d61daf4f1cb9464f315e1c
treeeb9da89eaaf54c7924f2856424972211d230ceab
parentb5c29fba72a6c950655d1cb0f6aa16b60dc83be7
iommu/dma: Prune redundant pgprot arguments

Somewhere amongst previous refactorings, the pgprot value in
__iommu_dma_alloc_noncontiguous() became entirely unused, and the one
used in iommu_dma_alloc_remap() can be computed locally rather than by
its one remaining caller. Clean 'em up.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/c2a81b72df59a71a13f8bad94f834e627c4c93dd.1717504749.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/dma-iommu.c