fixbug for tcp kill state assert

This commit is contained in:
xueyunfei
2020-04-23 15:37:08 +08:00
parent 754b8d5dcb
commit 50e4e0d182
-2
View File
@@ -1755,8 +1755,6 @@ tcp_kill_state(enum tcp_state state)
struct tcp_pcb *pcb, *inactive;
u32_t inactivity;
LWIP_ASSERT("invalid state", (state == CLOSING) || (state == LAST_ACK));
inactivity = 0;
inactive = NULL;
/* Go through the list of active pcbs and get the oldest pcb that is in state