These trip up compilation with gcc.

Cc: Liming Gao <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Star Zeng <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <[email protected]>
---
 MdeModulePkg/Core/Dxe/Gcd/Gcd.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/MdeModulePkg/Core/Dxe/Gcd/Gcd.c b/MdeModulePkg/Core/Dxe/Gcd/Gcd.c
index c276962..bd7c6c6 100644
--- a/MdeModulePkg/Core/Dxe/Gcd/Gcd.c
+++ b/MdeModulePkg/Core/Dxe/Gcd/Gcd.c
@@ -2061,9 +2061,6 @@ CoreInitializeMemoryServices (
   UINT64                             Length;
   UINT64                             Attributes;
   UINT64                             Capabilities;
-  EFI_PHYSICAL_ADDRESS               MaxMemoryBaseAddress;
-  UINT64                             MaxMemoryLength;
-  UINT64                             MaxMemoryAttributes;
   EFI_PHYSICAL_ADDRESS               TestedMemoryBaseAddress;
   UINT64                             TestedMemoryLength;
   EFI_PHYSICAL_ADDRESS               HighAddress;
@@ -2091,9 +2088,6 @@ CoreInitializeMemoryServices (
   BaseAddress           = 0;
   Length                = 0;
   Attributes            = 0;
-  MaxMemoryBaseAddress  = 0;
-  MaxMemoryLength       = 0;
-  MaxMemoryAttributes   = 0;
 
   //
   // Cache the PHIT HOB for later use
-- 
1.8.3.1

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to