[PATCH 3/3] iommu/arm-smmu-v3: Remove domain_alloc_paging()

Will Deacon will at kernel.org
Mon Dec 9 15:06:12 PST 2024


On Thu, Dec 05, 2024 at 11:43:29AM -0400, Jason Gunthorpe wrote:
> arm_smmu_domain_alloc_paging_flags() with a flags = 0 now does the same
> thing as arm_smmu_domain_alloc_paging(), remove
> arm_smmu_domain_alloc_paging().
> 
> Signed-off-by: Jason Gunthorpe <jgg at nvidia.com>
> ---
>  drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 31 ---------------------
>  1 file changed, 31 deletions(-)

Ha! I was reviewing the previous patch and about to reply asking why we
couldn't just implement arm_smmu_domain_alloc_paging() as a wrapper
around arm_smmu_domain_alloc_paging() with flags of 0.

Good thing I read ahead :)

Will



More information about the linux-arm-kernel mailing list