mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-29 16:44:10 +02:00
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>
This commit is contained in:
parent
e8a537d28d
commit
8fdb4de628
@ -661,11 +661,7 @@ SockSend (
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (NULL == SockToken) {
|
if (NULL == SockToken) {
|
||||||
DEBUG (
|
DEBUG ((DEBUG_ERROR, "SockSend: Failed to buffer IO token into socket processing SndToken List\n"));
|
||||||
(DEBUG_ERROR,
|
|
||||||
"SockSend: Failed to buffer IO token into socket processing SndToken List\n",
|
|
||||||
Status)
|
|
||||||
);
|
|
||||||
|
|
||||||
Status = EFI_OUT_OF_RESOURCES;
|
Status = EFI_OUT_OF_RESOURCES;
|
||||||
goto Exit;
|
goto Exit;
|
||||||
@ -674,11 +670,7 @@ SockSend (
|
|||||||
Status = SockProcessTcpSndData (Sock, TxData);
|
Status = SockProcessTcpSndData (Sock, TxData);
|
||||||
|
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
DEBUG (
|
DEBUG ((DEBUG_ERROR, "SockSend: Failed to process Snd Data\n"));
|
||||||
(DEBUG_ERROR,
|
|
||||||
"SockSend: Failed to process Snd Data\n",
|
|
||||||
Status)
|
|
||||||
);
|
|
||||||
|
|
||||||
RemoveEntryList (&(SockToken->TokenList));
|
RemoveEntryList (&(SockToken->TokenList));
|
||||||
FreePool (SockToken);
|
FreePool (SockToken);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user