From: klu2 Date: Fri, 10 Aug 2007 07:02:47 +0000 (+0000) Subject: EFI_FILE_TAIL_ATTRIBUTE does not support in PI specification. X-Git-Tag: edk2-stable201903~22355 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=2a7e6bb29d36af2bd005eba61c8bcfb36c01cc06 EFI_FILE_TAIL_ATTRIBUTE does not support in PI specification. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3606 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c b/MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c index ff2fcb8023..313b36e6f7 100644 --- a/MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c +++ b/MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c @@ -220,13 +220,6 @@ Returns: // *Size = FileLength - sizeof(EFI_FFS_FILE_HEADER); - if (FfsFileHeader->Attributes & FFS_ATTRIB_TAIL_PRESENT) { - // - // If tail is present substract it's size; - // - *Size -= sizeof(EFI_FFS_FILE_TAIL); - } - return EFI_SUCCESS; }