]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg/ArmMmuLib: drop unused TT_ATTR_INDX_INVALID CPP macro
authorArd Biesheuvel <ard.biesheuvel@arm.com>
Tue, 31 Mar 2020 17:25:11 +0000 (19:25 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 2 Apr 2020 12:35:52 +0000 (12:35 +0000)
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 <ard.biesheuvel@arm.com>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c

index a82596d290f125f0c191b4c5f5c6e8ac10c8779d..222ff817956feb738325fc78fbaf064de98802a9 100644 (file)
@@ -19,9 +19,6 @@
 #include <Library/BaseLib.h>\r
 #include <Library/DebugLib.h>\r
 \r
-// We use this index definition to define an invalid block entry\r
-#define TT_ATTR_INDX_INVALID    ((UINT32)~0)\r
-\r
 STATIC\r
 UINT64\r
 ArmMemoryAttributeToPageAttribute (\r