net/local: remove duplicate assert condition
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
63173dadbb
commit
3d62d5106d
@ -107,8 +107,7 @@ int local_listen(FAR struct socket *psock, int backlog)
|
||||
{
|
||||
/* The connection should not reside in any other list */
|
||||
|
||||
DEBUGASSERT(server->lc_node.flink == NULL &&
|
||||
server->lc_node.flink == NULL);
|
||||
DEBUGASSERT(server->lc_node.flink == NULL);
|
||||
|
||||
/* And change the server state to listing */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user