From 2a7e6bb29d36af2bd005eba61c8bcfb36c01cc06 Mon Sep 17 00:00:00 2001 From: klu2 Date: Fri, 10 Aug 2007 07:02:47 +0000 Subject: [PATCH] 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 --- MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c | 7 ------- 1 file changed, 7 deletions(-) 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; }