Skip to content

Commit

Permalink
BaseUefiImageLib: Removed superfluous returns.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Krichanov committed Nov 22, 2023
1 parent 1cdfde2 commit f3452a7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions MdePkg/Library/BaseUefiImageLib/UefiImageLib.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ UefiImageInitializeContextPreHash (
);
if (!RETURN_ERROR (Status)) {
Context->FormatIndex = UefiImageFormatUe;
return RETURN_SUCCESS;
}
}

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

Expand Down

0 comments on commit f3452a7

Please sign in to comment.