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:
Axel Lin 2017-05-04 17:58:42 +08:00 committed by goldsimon
parent c6b19cad34
commit e6fa613633

View File

@ -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) {