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_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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue