mirror of https://github.com/acidanthera/audk.git
OvmfPkg: QemuFlashFvbServicesRuntimeDxe: remove FvbDevLock field
The EFI_FW_VOL_INSTANCE.FvbDevLock member is initialized and then never used. Remove it. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18668 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
2ff2a0e1a8
commit
a05aff5655
|
@ -1119,7 +1119,6 @@ FvbInitialize (
|
|||
CopyMem ((UINTN *) &(FwhInstance->VolumeHeader), (UINTN *) FwVolHeader,
|
||||
FwVolHeader->HeaderLength);
|
||||
FwVolHeader = &(FwhInstance->VolumeHeader);
|
||||
EfiInitializeLock (&(FwhInstance->FvbDevLock), TPL_HIGH_LEVEL);
|
||||
|
||||
NumOfBlocks = 0;
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#define FVB_VIRTUAL 1
|
||||
|
||||
typedef struct {
|
||||
EFI_LOCK FvbDevLock;
|
||||
UINTN FvBase[2];
|
||||
UINTN NumOfBlocks;
|
||||
EFI_FIRMWARE_VOLUME_HEADER VolumeHeader;
|
||||
|
|
Loading…
Reference in New Issue