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/Universal/Console/ConSplitterDxe | |
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/Universal/Console/ConSplitterDxe')
-rw-r--r-- | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c index 7ef141facf..01bec197bb 100644 --- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c +++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.c @@ -1465,9 +1465,6 @@ ConSplitterStdErrDriverBindingStart ( //
Status = ConSplitterTextOutAddDevice (&mStdErr, TextOut, NULL, NULL);
ConSplitterTextOutSetAttribute (&mStdErr.TextOut, EFI_TEXT_ATTR (EFI_MAGENTA, EFI_BLACK));
- if (EFI_ERROR (Status)) {
- return Status;
- }
return Status;
}
|