From f73c9adfc68c7ff189b17cb2531a071d4b30cd75 Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Tue, 31 Mar 2020 19:25:11 +0200 Subject: ArmPkg/ArmMmuLib: drop unused TT_ATTR_INDX_INVALID CPP macro TT_ATTR_INDX_INVALID is #define'd but never used so drop it. Note that this leaves a CPP macro of the same name in CpuDxe, but there, it is actually being used, and although the name suggests that this value is somehow defined by the architecture, this is really not the case and it only has meaning within the scope of CpuDxe's implementation. Signed-off-by: Ard Biesheuvel Reviewed-by: Leif Lindholm --- ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c b/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c index a82596d290..222ff81795 100644 --- a/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c +++ b/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c @@ -19,9 +19,6 @@ #include #include -// We use this index definition to define an invalid block entry -#define TT_ATTR_INDX_INVALID ((UINT32)~0) - STATIC UINT64 ArmMemoryAttributeToPageAttribute ( -- cgit v1.2.3