MdeModulePkg: Remove superfluous return statements
If the code eventually returns "Status" anyway, it does not make sense to explicitly return "Status" in case of an error, too. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
@@ -2520,9 +2520,6 @@ EmmcPeimSwitchToHighSpeed (
|
||||
|
||||
HsTiming = 1;
|
||||
Status = EmmcPeimSwitchClockFreq (Slot, Rca, HsTiming, ClockFreq);
|
||||
if (EFI_ERROR (Status)) {
|
||||
return Status;
|
||||
}
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
Reference in New Issue
Block a user