From: Wei Wang Date: Tue, 21 Apr 2026 10:00:38 +0000 (+0800) Subject: iommu/amd: Remove unused IOMMU_IN/OUT_ADDR_BIT_SIZE macros X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=c6580699ffcd44941eaec895d6b5cc2c338d27bd;p=thirdparty%2Fkernel%2Flinux.git 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 --- diff --git a/drivers/iommu/amd/amd_iommu_types.h b/drivers/iommu/amd/amd_iommu_types.h index 9fc9e8f0887a..96038b2e24d5 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