From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web08.4604.1662157380174931155 for ; Fri, 02 Sep 2022 15:23:00 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=sAJelSkT; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from localhost.localdomain (unknown [47.195.228.134]) by linux.microsoft.com (Postfix) with ESMTPSA id 6659520C29FC; Fri, 2 Sep 2022 15:22:59 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 6659520C29FC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1662157380; bh=sG3H676aHcvcFF3E0/gYTmIp6RUyXOmkxVh4bhShevo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sAJelSkTDf1k1rm8N28V3kUzP8SDtTEhxq01GzIDoRAhQhIyAnJM1On0VC1LTKOP5 lkUnhbWWeUrcG7IImlcX/H0O7WbZL6rXfCF6JG7Iqfb/7bE3kdFdZ2onRVxzfQpkQ1 +1Tqnd0pVeGHZz9ZISrAwr8f+nseve7ysdgghaDU= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Maciej Rabeda , Jiaxin Wu , Siyuan Fu Subject: [PATCH v3 7/8] NetworkPkg/TcpDxe: Fix debug macro arguments Date: Fri, 2 Sep 2022 18:22:05 -0400 Message-Id: <20220902222206.1509-8-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20220902222206.1509-1-mikuback@linux.microsoft.com> References: <20220902222206.1509-1-mikuback@linux.microsoft.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Kubacki Removes Status argument that is not needed from DEBUG macros. Cc: Maciej Rabeda Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off-by: Michael Kubacki Reviewed-by: Maciej Rabeda --- NetworkPkg/TcpDxe/SockInterface.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/NetworkPkg/TcpDxe/SockInterface.c b/NetworkPkg/TcpDxe/SockIn= terface.c index 413d6e1373f3..6e8cbb74a86b 100644 --- a/NetworkPkg/TcpDxe/SockInterface.c +++ b/NetworkPkg/TcpDxe/SockInterface.c @@ -661,11 +661,7 @@ SockSend ( ); =20 if (NULL =3D=3D SockToken) { - DEBUG ( - (DEBUG_ERROR, - "SockSend: Failed to buffer IO token into socket processing Snd= Token List\n", - Status) - ); + DEBUG ((DEBUG_ERROR, "SockSend: Failed to buffer IO token into soc= ket processing SndToken List\n")); =20 Status =3D EFI_OUT_OF_RESOURCES; goto Exit; @@ -674,11 +670,7 @@ SockSend ( Status =3D SockProcessTcpSndData (Sock, TxData); =20 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")); =20 RemoveEntryList (&(SockToken->TokenList)); FreePool (SockToken); --=20 2.28.0.windows.1