Re: [PATCH 1/1] iommu: Remove iommu_present()
From: Jason Gunthorpe
Date: Tue Oct 01 2024 - 13:56:26 EST
On Mon, Sep 30, 2024 at 08:42:35AM +0800, Lu Baolu wrote:
> The last callsite of iommu_present() is removed by commit <45c690aea8ee>
> ("drm/tegra: Use iommu_paging_domain_alloc()"). Remove it to avoid dead
> code.
>
> Fixes: 45c690aea8ee ("drm/tegra: Use iommu_paging_domain_alloc()")
> Signed-off-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
> ---
> include/linux/iommu.h | 6 ------
> drivers/iommu/iommu.c | 25 -------------------------
> 2 files changed, 31 deletions(-)
Also think the fixes should be removed
Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
Jason