summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core/Dxe/FwVol/FwVolAttrib.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Core/Dxe/FwVol/FwVolAttrib.c')
-rw-r--r--MdeModulePkg/Core/Dxe/FwVol/FwVolAttrib.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/MdeModulePkg/Core/Dxe/FwVol/FwVolAttrib.c b/MdeModulePkg/Core/Dxe/FwVol/FwVolAttrib.c
index 4d84dbd89..0a89e7076 100644
--- a/MdeModulePkg/Core/Dxe/FwVol/FwVolAttrib.c
+++ b/MdeModulePkg/Core/Dxe/FwVol/FwVolAttrib.c
@@ -1,7 +1,7 @@
/** @file
Implements get/set firmware volume attributes
-Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -41,13 +41,6 @@ FvGetVolumeAttributes (
FvDevice = FV_DEVICE_FROM_THIS (This);
Fvb = FvDevice->Fvb;
- if (FvDevice->CachedFv == NULL) {
- Status = FvCheck (FvDevice);
- if (EFI_ERROR (Status)) {
- return Status;
- }
- }
-
//
// First get the Firmware Volume Block Attributes
//