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>
This commit is contained in:
parent
4b2fb7986d
commit
f3fa35a002
@ -1294,10 +1294,6 @@ TlsCloseSession (
|
|||||||
FreePool (BufferOut);
|
FreePool (BufferOut);
|
||||||
NetbufFree (PacketOut);
|
NetbufFree (PacketOut);
|
||||||
|
|
||||||
if (EFI_ERROR (Status)) {
|
|
||||||
return Status;
|
|
||||||
}
|
|
||||||
|
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user