summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2015-09-21 01:03:56 +0000
committerhwu1225 <hwu1225@Edk2>2015-09-21 01:03:56 +0000
commite8a7f76f9c99c8329cc0c05a5eb8648c413a1183 (patch)
tree03fc7d0e397cf91c6a971bb303197d46ee78f6c9 /MdeModulePkg
parent8df1f5edda8abc91c33ffb12d649ecf449ba2523 (diff)
downloadedk2-platforms-e8a7f76f9c99c8329cc0c05a5eb8648c413a1183.tar.xz
MdeModulePkg/Core/Dxe/Gcd: remove set but not used variables
These trip up compilation with gcc. (Sync patch r18515 from main trunk.) 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/branches/UDK2015@18516 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Core/Dxe/Gcd/Gcd.c6
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