EFI_FILE_TAIL_ATTRIBUTE does not support in PI specification.
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 10 Aug 2007 07:02:47 +0000 (07:02 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 10 Aug 2007 07:02:47 +0000 (07:02 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3606 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c

index ff2fcb8..313b36e 100644 (file)
@@ -220,13 +220,6 @@ Returns:
   //\r
   *Size = FileLength - sizeof(EFI_FFS_FILE_HEADER);\r
 \r
-  if (FfsFileHeader->Attributes & FFS_ATTRIB_TAIL_PRESENT) {\r
-    //\r
-    // If tail is present substract it's size;\r
-    //\r
-    *Size -= sizeof(EFI_FFS_FILE_TAIL);\r
-  }\r
-\r
   return EFI_SUCCESS;\r
 }\r
 \r