IntelFspPkg: Remove the const condition if statement to refine the code.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: "Yao, Jiewen" <Jiewen.yao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18124 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Qiu Shumin 2015-08-03 02:59:55 +00:00 committed by shenshushi
parent b23441875c
commit 496b0dd00c
1 changed files with 48 additions and 57 deletions

View File

@ -301,7 +301,6 @@ Decompress (
//
switch (CompressionType) {
case EFI_STANDARD_COMPRESSION:
if (TRUE) {
//
// Load EFI standard compression.
// For compressed data, decompress them to destination buffer.
@ -354,14 +353,6 @@ Decompress (
return EFI_NOT_FOUND;
}
break;
} else {
//
// PcdDxeIplSupportUefiDecompress is FALSE
// Don't support UEFI decompression algorithm.
//
ASSERT (FALSE);
return EFI_NOT_FOUND;
}
case EFI_NOT_COMPRESSED:
//