diff options
author | niry <niry@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-26 03:40:27 +0000 |
---|---|---|
committer | niry <niry@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-26 03:40:27 +0000 |
commit | c191cdd1ff66422a10d525f8e3c98bba595d985e (patch) | |
tree | 2b66532132de7eef3644cf1cf858eb716f57e342 /MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Timer.c | |
parent | 9a8fe604fe442e970a370f0455dce282594f989f (diff) | |
download | edk2-platforms-c191cdd1ff66422a10d525f8e3c98bba595d985e.tar.xz |
Remove a goto statement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7131 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Timer.c')
-rw-r--r-- | MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Timer.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Timer.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Timer.c index 945a5cac22..616e9e23eb 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Timer.c +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Timer.c @@ -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);
+ }
}
}
|