mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
667d714650
commit
32d13bc4bc
|
@ -142,10 +142,6 @@ BootLogoEnableLogo (
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (EFI_ERROR (Status)) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (Blt != NULL) {
|
if (Blt != NULL) {
|
||||||
FreePool (Blt);
|
FreePool (Blt);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue