local_socket: remove the wrong assertion in local_listen()
if 2 threads call local_alloc() time and then do local_listen() will meet this assertion Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
c398375cc8
commit
f9b6255895
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue