Revision: 18515
          http://sourceforge.net/p/edk2/code/18515
Author:   lzeng14
Date:     2015-09-21 00:50:32 +0000 (Mon, 21 Sep 2015)
Log Message:
-----------
MdeModulePkg/Core/Dxe/Gcd: remove set but not used variables

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]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Star Zeng <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdeModulePkg/Core/Dxe/Gcd/Gcd.c

Modified: trunk/edk2/MdeModulePkg/Core/Dxe/Gcd/Gcd.c
===================================================================
--- trunk/edk2/MdeModulePkg/Core/Dxe/Gcd/Gcd.c  2015-09-18 19:16:30 UTC (rev 
18514)
+++ trunk/edk2/MdeModulePkg/Core/Dxe/Gcd/Gcd.c  2015-09-21 00:50:32 UTC (rev 
18515)
@@ -2061,9 +2061,6 @@
   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 @@
   BaseAddress           = 0;
   Length                = 0;
   Attributes            = 0;
-  MaxMemoryBaseAddress  = 0;
-  MaxMemoryLength       = 0;
-  MaxMemoryAttributes   = 0;
 
   //
   // Cache the PHIT HOB for later use


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to