diff --git a/net/local/local_listen.c b/net/local/local_listen.c index 605a778461..e468f512c8 100644 --- a/net/local/local_listen.c +++ b/net/local/local_listen.c @@ -111,10 +111,6 @@ int local_listen(FAR struct socket *psock, int backlog) if (server->lc_state == LOCAL_STATE_BOUND) { - /* The connection should not reside in any other list */ - - DEBUGASSERT(server->lc_conn.node.flink == NULL); - /* And change the server state to listing */ server->lc_state = LOCAL_STATE_LISTENING;