summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-08-10 07:02:47 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-08-10 07:02:47 +0000
commit2a7e6bb29d36af2bd005eba61c8bcfb36c01cc06 (patch)
tree84873c081d58844b91d925490aa5a2c80b702efb
parent1b144bbfe3aa7b7a3eea1ec6f24a62531d6cb0fb (diff)
downloadedk2-platforms-2a7e6bb29d36af2bd005eba61c8bcfb36c01cc06.tar.xz
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
-rw-r--r--MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c7
1 files changed, 0 insertions, 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;
}