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.web09.20174.1661399368420569644 for ; Wed, 24 Aug 2022 20:49:28 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=hwegtaNR; 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 80F68204CB30; Wed, 24 Aug 2022 20:49:27 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 80F68204CB30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1661399368; bh=kTK2xcBtBhOCMv9UcymTTNR1+gB/bRg4sQ9DalTEArQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hwegtaNRXQHhexSrBU8k+qGnMpWG0PReyMRMGIiefk6tZpC/aCB5OnPF4X4wyZ1Kf M8OLQYZ4LVOuVS9LbKPw/q/iBOKtyxW7UqXB7lSonay8tm0GYeXiXHe8qaKgluwyWh jYz9MIZH0gJcvMaxal3X8NCtaIcuQQfMb9TxJHb0= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Maciej Rabeda , Jiaxin Wu , Siyuan Fu Subject: [PATCH v2 7/8] NetworkPkg/TcpDxe: Fix debug macro arguments Date: Wed, 24 Aug 2022 23:48:23 -0400 Message-Id: <20220825034824.4044-8-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20220825034824.4044-1-mikuback@linux.microsoft.com> References: <20220825034824.4044-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 --- 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