mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-16 23:15:37 +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>
(cherry picked from commit 9bbb741247
)
This commit is contained in:
parent
c6b19cad34
commit
e6fa613633
@ -358,7 +358,6 @@ tcp_close_shutdown_fin(struct tcp_pcb *pcb)
|
||||
default:
|
||||
/* Has already been closed, do nothing. */
|
||||
return ERR_OK;
|
||||
break;
|
||||
}
|
||||
|
||||
if (err == ERR_OK) {
|
||||
|
Loading…
Reference in New Issue
Block a user