X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FCore%2FDxe%2FFwVol%2FFwVolAttrib.c;h=0a89e707613eee8caa488df75ccee7115d002830;hb=523f48e771b1088c6e2cfddc5c56cde1ef9a2ab0;hp=4d84dbd8950b555bce1c3459c39c1a5bbf719a66;hpb=cd5ebaa06dca3e6ef3c464081e6defe00d358c69;p=mirror_edk2.git diff --git a/MdeModulePkg/Core/Dxe/FwVol/FwVolAttrib.c b/MdeModulePkg/Core/Dxe/FwVol/FwVolAttrib.c index 4d84dbd895..0a89e70761 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.
+Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.
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 //