Re: [PATCH v1] iommu/amd: Remove unused IOMMU_IN/OUT_ADDR_BIT_SIZE macros
From: Jason Gunthorpe
Date: Tue Apr 21 2026 - 07:42:50 EST
On Tue, Apr 21, 2026 at 06:00:38PM +0800, Wei Wang wrote:
> The macros IOMMU_IN/OUT_ADDR_BIT_SIZE became unused after commit
> 2fdf6db436e3 ("iommu/amd: Remove AMD io_pgtable support"), which removed
> the last references in io_pgtable.c and io_pgtable_v2.c. Remove them to
> clean up unused definitions.
>
> Signed-off-by: Wei Wang <wei.w.wang@xxxxxxxxxxx>
> ---
> drivers/iommu/amd/amd_iommu_types.h | 3 ---
> 1 file changed, 3 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
Jason