diff options
author | Laszlo Ersek <lersek@redhat.com> | 2015-10-26 14:58:20 +0000 |
---|---|---|
committer | lersek <lersek@Edk2> | 2015-10-26 14:58:20 +0000 |
commit | a05aff56554f4ff74629d13db92260d504f8cb5b (patch) | |
tree | eba37205e30a42b68c14172076574fa7f613c3e1 /OvmfPkg | |
parent | 2ff2a0e1a85103aa8584e8451f9e3e48020960bf (diff) | |
download | edk2-a05aff56554f4ff74629d13db92260d504f8cb5b.zip edk2-a05aff56554f4ff74629d13db92260d504f8cb5b.tar.gz edk2-a05aff56554f4ff74629d13db92260d504f8cb5b.tar.bz2 |
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
Diffstat (limited to 'OvmfPkg')
-rw-r--r-- | OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c | 1 | ||||
-rw-r--r-- | OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c b/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c index c542482..3e7fe68 100644 --- a/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c +++ b/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c @@ -1119,7 +1119,6 @@ FvbInitialize ( CopyMem ((UINTN *) &(FwhInstance->VolumeHeader), (UINTN *) FwVolHeader,
FwVolHeader->HeaderLength);
FwVolHeader = &(FwhInstance->VolumeHeader);
- EfiInitializeLock (&(FwhInstance->FvbDevLock), TPL_HIGH_LEVEL);
NumOfBlocks = 0;
diff --git a/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.h b/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.h index 6fa7c7e..67140d0 100644 --- a/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.h +++ b/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.h @@ -30,7 +30,6 @@ #define FVB_VIRTUAL 1
typedef struct {
- EFI_LOCK FvbDevLock;
UINTN FvBase[2];
UINTN NumOfBlocks;
EFI_FIRMWARE_VOLUME_HEADER VolumeHeader;
|