From c6580699ffcd44941eaec895d6b5cc2c338d27bd Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Tue, 21 Apr 2026 18:00:38 +0800 Subject: [PATCH] iommu/amd: Remove unused IOMMU_IN/OUT_ADDR_BIT_SIZE macros 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 Reviewed-by: Jason Gunthorpe Signed-off-by: Joerg Roedel --- drivers/iommu/amd/amd_iommu_types.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/iommu/amd/amd_iommu_types.h b/drivers/iommu/amd/amd_iommu_types.h index 9fc9e8f0887a2..96038b2e24d58 100644 --- a/drivers/iommu/amd/amd_iommu_types.h +++ b/drivers/iommu/amd/amd_iommu_types.h @@ -300,9 +300,6 @@ #define GA_GUEST_NR 0x1 -#define IOMMU_IN_ADDR_BIT_SIZE 52 -#define IOMMU_OUT_ADDR_BIT_SIZE 52 - /* * This bitmap is used to advertise the page sizes our hardware support * to the IOMMU core, which will then use this information to split -- 2.47.3