remove unused local variable FvbHandle

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7839 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2009-03-10 00:56:48 +00:00
parent 0a20571607
commit e51d07a670
1 changed files with 0 additions and 3 deletions

View File

@ -2022,7 +2022,6 @@ FvbNotificationEvent (
{ {
EFI_STATUS Status; EFI_STATUS Status;
EFI_HANDLE *HandleBuffer; EFI_HANDLE *HandleBuffer;
EFI_HANDLE FvbHandle;
UINTN HandleCount; UINTN HandleCount;
UINTN Index; UINTN Index;
EFI_PHYSICAL_ADDRESS FvbBaseAddress; EFI_PHYSICAL_ADDRESS FvbBaseAddress;
@ -2034,7 +2033,6 @@ FvbNotificationEvent (
SystemTable = (EFI_SYSTEM_TABLE *)Context; SystemTable = (EFI_SYSTEM_TABLE *)Context;
Fvb = NULL; Fvb = NULL;
FvbHandle = NULL;
// //
// Locate all handles of Fvb protocol // Locate all handles of Fvb protocol
@ -2082,7 +2080,6 @@ FvbNotificationEvent (
FwVolHeader = (EFI_FIRMWARE_VOLUME_HEADER *) ((UINTN) FvbBaseAddress); FwVolHeader = (EFI_FIRMWARE_VOLUME_HEADER *) ((UINTN) FvbBaseAddress);
NvStorageVariableBase = (EFI_PHYSICAL_ADDRESS) PcdGet32 (PcdFlashNvStorageVariableBase); NvStorageVariableBase = (EFI_PHYSICAL_ADDRESS) PcdGet32 (PcdFlashNvStorageVariableBase);
if ((NvStorageVariableBase >= FvbBaseAddress) && (NvStorageVariableBase < (FvbBaseAddress + FwVolHeader->FvLength))) { if ((NvStorageVariableBase >= FvbBaseAddress) && (NvStorageVariableBase < (FvbBaseAddress + FwVolHeader->FvLength))) {
FvbHandle = HandleBuffer[Index];
Status = EFI_SUCCESS; Status = EFI_SUCCESS;
break; break;
} }