diff options
author | Song, BinX <binx.song@intel.com> | 2016-11-10 16:19:59 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2016-11-11 12:55:46 +0800 |
commit | 32d13bc4bcc5fcf580dd153d16b3746f845c81a8 (patch) | |
tree | 6445b4aafe47d59eeb4965a5df9c73fdf6a825a4 /MdeModulePkg | |
parent | 667d7146501af0de63e0b28cd00dd1a5125540ad (diff) | |
download | edk2-32d13bc4bcc5fcf580dd153d16b3746f845c81a8.tar.gz edk2-32d13bc4bcc5fcf580dd153d16b3746f845c81a8.tar.bz2 edk2-32d13bc4bcc5fcf580dd153d16b3746f845c81a8.zip |
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')
-rw-r--r-- | MdeModulePkg/Library/BootLogoLib/BootLogoLib.c | 4 |
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);
}
|