diff options
author | Thomas Huth <thuth@redhat.com> | 2017-01-19 18:16:04 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2017-01-20 15:29:18 +0800 |
commit | cd5b2ae437553df0e491f926b8748bf88809e76a (patch) | |
tree | e552c5365aab6a3bd0a26a1c6176ce9fd41e5145 /MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c | |
parent | 4d580428a38be8ea6cb38d860f9093d98cf23583 (diff) | |
download | edk2-platforms-cd5b2ae437553df0e491f926b8748bf88809e76a.tar.xz |
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>
Diffstat (limited to 'MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c')
-rw-r--r-- | MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c b/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c index d6d3bdbd91..5a9e0b2f14 100644 --- a/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c +++ b/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/EmmcHci.c @@ -2520,9 +2520,6 @@ EmmcPeimSwitchToHighSpeed ( HsTiming = 1;
Status = EmmcPeimSwitchClockFreq (Slot, Rca, HsTiming, ClockFreq);
- if (EFI_ERROR (Status)) {
- return Status;
- }
return Status;
}
|