public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH V2] MdeModulePkg/BootLogoLib: Remove invalid if judgments
@ 2016-11-10  8:19 Song, BinX
  2016-11-10  8:31 ` Gao, Liming
  0 siblings, 1 reply; 2+ messages in thread
From: Song, BinX @ 2016-11-10  8:19 UTC (permalink / raw)
  To: edk2-devel@lists.01.org; +Cc: Gao, Liming

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>
---
 MdeModulePkg/Library/BootLogoLib/BootLogoLib.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/MdeModulePkg/Library/BootLogoLib/BootLogoLib.c b/MdeModulePkg/Library/BootLogoLib/BootLogoLib.c
index 2c1e8ea..8bd9985 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);
     }
-- 
2.10.2.windows.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-10  8:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-10  8:19 [PATCH V2] MdeModulePkg/BootLogoLib: Remove invalid if judgments Song, BinX
2016-11-10  8:31 ` Gao, Liming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox