Skip to content

Commit

Permalink
NetworkPkg/TcpDxe: Fix debug macro arguments
Browse files Browse the repository at this point in the history
Removes Status argument that is not needed from DEBUG macros.

Cc: Maciej Rabeda <[email protected]>
Cc: Jiaxin Wu <[email protected]>
Cc: Siyuan Fu <[email protected]>
Signed-off-by: Michael Kubacki <[email protected]>
Reviewed-by: Maciej Rabeda <[email protected]>
  • Loading branch information
makubacki authored and mergify[bot] committed Sep 9, 2022
1 parent e8a537d commit 8fdb4de
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions NetworkPkg/TcpDxe/SockInterface.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down

0 comments on commit 8fdb4de

Please sign in to comment.