diff options
author | Laszlo Ersek <lersek@redhat.com> | 2015-09-21 00:50:32 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@Edk2> | 2015-09-21 00:50:32 +0000 |
commit | e630f8595af8b6fd52daf68f17c2cbb4ebc541af (patch) | |
tree | fbb49e863991d825485a9385eb57962248aa5d7e /MdeModulePkg/Core/Dxe | |
parent | c642a2c92a268a52db84bda6112661d0ce039e36 (diff) | |
download | edk2-platforms-e630f8595af8b6fd52daf68f17c2cbb4ebc541af.tar.xz |
MdeModulePkg/Core/Dxe/Gcd: remove set but not used variables
These trip up compilation with gcc.
Cc: Liming Gao <liming.gao@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18515 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/Dxe')
-rw-r--r-- | MdeModulePkg/Core/Dxe/Gcd/Gcd.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/MdeModulePkg/Core/Dxe/Gcd/Gcd.c b/MdeModulePkg/Core/Dxe/Gcd/Gcd.c index c276962258..bd7c6c6493 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
|