diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2022-08-24 22:55:48 -0400 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-09-09 01:42:39 +0000 |
commit | 8fdb4de628120a8736ee47522d1941e3ad3bdf8a (patch) | |
tree | 3d85c8d6545c33e29c523f5673d30788ed77f268 /NetworkPkg/TcpDxe/SockInterface.c | |
parent | e8a537d28d37c092bd03093064264071f2938ca8 (diff) | |
download | edk2-8fdb4de628120a8736ee47522d1941e3ad3bdf8a.zip edk2-8fdb4de628120a8736ee47522d1941e3ad3bdf8a.tar.gz edk2-8fdb4de628120a8736ee47522d1941e3ad3bdf8a.tar.bz2 |
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/TcpDxe/SockInterface.c')
-rw-r--r-- | NetworkPkg/TcpDxe/SockInterface.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/NetworkPkg/TcpDxe/SockInterface.c b/NetworkPkg/TcpDxe/SockInterface.c index 413d6e1..6e8cbb7 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);
|