summaryrefslogtreecommitdiffstats
path: root/NetworkPkg
diff options
context:
space:
mode:
authorMichael Kubacki <michael.kubacki@microsoft.com>2022-08-24 22:55:48 -0400
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-09-09 01:42:39 +0000
commit8fdb4de628120a8736ee47522d1941e3ad3bdf8a (patch)
tree3d85c8d6545c33e29c523f5673d30788ed77f268 /NetworkPkg
parente8a537d28d37c092bd03093064264071f2938ca8 (diff)
downloadedk2-8fdb4de628120a8736ee47522d1941e3ad3bdf8a.tar.gz
edk2-8fdb4de628120a8736ee47522d1941e3ad3bdf8a.tar.bz2
edk2-8fdb4de628120a8736ee47522d1941e3ad3bdf8a.zip
NetworkPkg/TcpDxe: Fix debug macro arguments
Removes Status argument that is not needed from DEBUG macros. Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Siyuan Fu <siyuan.fu@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Diffstat (limited to 'NetworkPkg')
-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);