remove unused local variable FvbHandle
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7839 6f19259b-4bc3-4df7-8a09-765794883524
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
index a1123bb..f89d6ed 100644
--- a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
+++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
@@ -2022,7 +2022,6 @@
{
EFI_STATUS Status;
EFI_HANDLE *HandleBuffer;
- EFI_HANDLE FvbHandle;
UINTN HandleCount;
UINTN Index;
EFI_PHYSICAL_ADDRESS FvbBaseAddress;
@@ -2034,7 +2033,6 @@
SystemTable = (EFI_SYSTEM_TABLE *)Context;
Fvb = NULL;
- FvbHandle = NULL;
//
// Locate all handles of Fvb protocol
@@ -2082,7 +2080,6 @@
FwVolHeader = (EFI_FIRMWARE_VOLUME_HEADER *) ((UINTN) FvbBaseAddress);
NvStorageVariableBase = (EFI_PHYSICAL_ADDRESS) PcdGet32 (PcdFlashNvStorageVariableBase);
if ((NvStorageVariableBase >= FvbBaseAddress) && (NvStorageVariableBase < (FvbBaseAddress + FwVolHeader->FvLength))) {
- FvbHandle = HandleBuffer[Index];
Status = EFI_SUCCESS;
break;
}