mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-31 01:24:12 +02:00
remove unnecessary check for NULL pointer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7166 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
c33add6776
commit
9216450d11
@ -757,9 +757,8 @@ EnableQuietBoot (
|
|||||||
&Width
|
&Width
|
||||||
);
|
);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
if (ImageData != NULL) {
|
FreePool (ImageData);
|
||||||
FreePool (ImageData);
|
|
||||||
}
|
|
||||||
if (Badging == NULL) {
|
if (Badging == NULL) {
|
||||||
return Status;
|
return Status;
|
||||||
} else {
|
} else {
|
||||||
@ -854,9 +853,8 @@ EnableQuietBoot (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ImageData != NULL) {
|
FreePool (ImageData);
|
||||||
FreePool (ImageData);
|
|
||||||
}
|
|
||||||
if (Blt != NULL) {
|
if (Blt != NULL) {
|
||||||
FreePool (Blt);
|
FreePool (Blt);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user