diff options
author | Thomas Huth <thuth@redhat.com> | 2017-01-19 17:37:31 +0800 |
---|---|---|
committer | Jiaxin Wu <jiaxin.wu@intel.com> | 2017-01-23 10:27:57 +0800 |
commit | f3fa35a00233b6f2e7653b3b8c3e2b28b8ecbe7f (patch) | |
tree | 282dd4dae2e77ba0fa540d04e37c8578d8fbabf9 | |
parent | 4b2fb7986d571827a6e4885377e531002d806681 (diff) | |
download | edk2-f3fa35a00233b6f2e7653b3b8c3e2b28b8ecbe7f.zip edk2-f3fa35a00233b6f2e7653b3b8c3e2b28b8ecbe7f.tar.gz edk2-f3fa35a00233b6f2e7653b3b8c3e2b28b8ecbe7f.tar.bz2 |
NetworkPkg: Remove superfluous return statement.
If the code eventually returns "Status" anyway, it does not make
sense to explicitely 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: Wu Jiaxin <jiaxin.wu@intel.com>
-rw-r--r-- | NetworkPkg/HttpDxe/HttpsSupport.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/NetworkPkg/HttpDxe/HttpsSupport.c b/NetworkPkg/HttpDxe/HttpsSupport.c index 77e5371..f0077dd 100644 --- a/NetworkPkg/HttpDxe/HttpsSupport.c +++ b/NetworkPkg/HttpDxe/HttpsSupport.c @@ -1294,10 +1294,6 @@ TlsCloseSession ( FreePool (BufferOut); NetbufFree (PacketOut); - if (EFI_ERROR (Status)) { - return Status; - } - return Status; } |