mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-25 07:33:11 +00: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>
This commit is contained in:
parent
d36306e30b
commit
9bbb741247
@ -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…
Reference in New Issue
Block a user