mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-07 19:45:07 +02:00
Remove a goto statement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7131 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
9a8fe604fe
commit
c191cdd1ff
MdeModulePkg/Universal/Network/Tcp4Dxe
@ -282,6 +282,7 @@ TcpTrimSegment (
|
||||
|
||||
Seg->Seq = Seg->End;
|
||||
NetbufTrim (Nbuf, Nbuf->TotalSize, NET_BUF_HEAD);
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
@ -1266,6 +1267,9 @@ NO_UPDATE:
|
||||
TcpClose (Tcb);
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -839,6 +839,9 @@ TcpOnAppConsume (
|
||||
case TCP_LAST_ACK:
|
||||
case TCP_TIME_WAIT:
|
||||
return;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -549,15 +549,13 @@ TcpTickingDpc (
|
||||
//
|
||||
if ((Next->BackLink != Entry) ||
|
||||
(Tcb->EnabledTimer == 0)) {
|
||||
|
||||
goto NextConnection;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
TcpUpdateTimer (Tcb);
|
||||
NextConnection:
|
||||
;
|
||||
if (Index == TCP_TIMER_NUMBER) {
|
||||
TcpUpdateTimer (Tcb);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user