mirror of https://github.com/acidanthera/audk.git
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:
parent
0a20571607
commit
e51d07a670
|
@ -2022,7 +2022,6 @@ FvbNotificationEvent (
|
|||
{
|
||||
EFI_STATUS Status;
|
||||
EFI_HANDLE *HandleBuffer;
|
||||
EFI_HANDLE FvbHandle;
|
||||
UINTN HandleCount;
|
||||
UINTN Index;
|
||||
EFI_PHYSICAL_ADDRESS FvbBaseAddress;
|
||||
|
@ -2034,7 +2033,6 @@ FvbNotificationEvent (
|
|||
|
||||
SystemTable = (EFI_SYSTEM_TABLE *)Context;
|
||||
Fvb = NULL;
|
||||
FvbHandle = NULL;
|
||||
|
||||
//
|
||||
// Locate all handles of Fvb protocol
|
||||
|
@ -2082,7 +2080,6 @@ FvbNotificationEvent (
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue