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:
niry 2008-12-26 03:40:27 +00:00
parent 9a8fe604fe
commit c191cdd1ff
3 changed files with 11 additions and 6 deletions
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);
}
}
}