mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-07 15:04:39 +08:00
tcp: Remove unreachable code in tcp_close_shutdown_fin
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Dirk Ziegelmeier <dirk@ziegelmeier.net> (cherry picked from commit 9bbb741247cc4dc6bb748498218addbd79d82372)
This commit is contained in:
parent
c6b19cad34
commit
e6fa613633
@ -358,7 +358,6 @@ tcp_close_shutdown_fin(struct tcp_pcb *pcb)
|
|||||||
default:
|
default:
|
||||||
/* Has already been closed, do nothing. */
|
/* Has already been closed, do nothing. */
|
||||||
return ERR_OK;
|
return ERR_OK;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (err == ERR_OK) {
|
if (err == ERR_OK) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user