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:
@ -282,6 +282,7 @@ TcpTrimSegment (
|
|||||||
|
|
||||||
Seg->Seq = Seg->End;
|
Seg->Seq = Seg->End;
|
||||||
NetbufTrim (Nbuf, Nbuf->TotalSize, NET_BUF_HEAD);
|
NetbufTrim (Nbuf, Nbuf->TotalSize, NET_BUF_HEAD);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -1266,6 +1267,9 @@ NO_UPDATE:
|
|||||||
TcpClose (Tcb);
|
TcpClose (Tcb);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -839,6 +839,9 @@ TcpOnAppConsume (
|
|||||||
case TCP_LAST_ACK:
|
case TCP_LAST_ACK:
|
||||||
case TCP_TIME_WAIT:
|
case TCP_TIME_WAIT:
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -549,15 +549,13 @@ TcpTickingDpc (
|
|||||||
//
|
//
|
||||||
if ((Next->BackLink != Entry) ||
|
if ((Next->BackLink != Entry) ||
|
||||||
(Tcb->EnabledTimer == 0)) {
|
(Tcb->EnabledTimer == 0)) {
|
||||||
|
break;
|
||||||
goto NextConnection;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (Index == TCP_TIMER_NUMBER) {
|
||||||
TcpUpdateTimer (Tcb);
|
TcpUpdateTimer (Tcb);
|
||||||
NextConnection:
|
}
|
||||||
;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user