BaseUefiImageLib: Removed superfluous returns.

This commit is contained in:
Mikhail Krichanov 2023-11-22 11:29:05 +03:00 committed by MikhailKrichanov
parent b21ae28e94
commit e6a7402b3a

View File

@ -152,7 +152,6 @@ UefiImageInitializeContextPreHash (
);
if (!RETURN_ERROR (Status)) {
Context->FormatIndex = UefiImageFormatUe;
return RETURN_SUCCESS;
}
}
@ -166,7 +165,6 @@ UefiImageInitializeContextPreHash (
);
if (!RETURN_ERROR (Status)) {
Context->FormatIndex = UefiImageFormatPe;
return RETURN_SUCCESS;
}
}