summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library
diff options
context:
space:
mode:
authorSong, BinX <binx.song@intel.com>2016-11-10 16:19:59 +0800
committerLiming Gao <liming.gao@intel.com>2016-11-11 12:55:46 +0800
commit32d13bc4bcc5fcf580dd153d16b3746f845c81a8 (patch)
tree6445b4aafe47d59eeb4965a5df9c73fdf6a825a4 /MdeModulePkg/Library
parent667d7146501af0de63e0b28cd00dd1a5125540ad (diff)
downloadedk2-platforms-32d13bc4bcc5fcf580dd153d16b3746f845c81a8.tar.xz
MdeModulePkg/BootLogoLib: Remove invalid if judgments
FreePool (Blt) function will be called in while loop, cannot be removed. Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Bell Song <binx.song@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdeModulePkg/Library')
-rw-r--r--MdeModulePkg/Library/BootLogoLib/BootLogoLib.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/MdeModulePkg/Library/BootLogoLib/BootLogoLib.c b/MdeModulePkg/Library/BootLogoLib/BootLogoLib.c
index 2c1e8ea5b4..8bd9985cb2 100644
--- a/MdeModulePkg/Library/BootLogoLib/BootLogoLib.c
+++ b/MdeModulePkg/Library/BootLogoLib/BootLogoLib.c
@@ -142,10 +142,6 @@ BootLogoEnableLogo (
break;
}
- if (EFI_ERROR (Status)) {
- continue;
- }
-
if (Blt != NULL) {
FreePool (Blt);
}