summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NetworkPkg/TcpDxe/SockInterface.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/NetworkPkg/TcpDxe/SockInterface.c b/NetworkPkg/TcpDxe/SockInterface.c
index 413d6e1373..6e8cbb74a8 100644
--- a/NetworkPkg/TcpDxe/SockInterface.c
+++ b/NetworkPkg/TcpDxe/SockInterface.c
@@ -661,11 +661,7 @@ SockSend (
);
if (NULL == SockToken) {
- DEBUG (
- (DEBUG_ERROR,
- "SockSend: Failed to buffer IO token into socket processing SndToken List\n",
- Status)
- );
+ DEBUG ((DEBUG_ERROR, "SockSend: Failed to buffer IO token into socket processing SndToken List\n"));
Status = EFI_OUT_OF_RESOURCES;
goto Exit;
@@ -674,11 +670,7 @@ SockSend (
Status = SockProcessTcpSndData (Sock, TxData);
if (EFI_ERROR (Status)) {
- DEBUG (
- (DEBUG_ERROR,
- "SockSend: Failed to process Snd Data\n",
- Status)
- );
+ DEBUG ((DEBUG_ERROR, "SockSend: Failed to process Snd Data\n"));
RemoveEntryList (&(SockToken->TokenList));
FreePool (SockToken);