mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 12:33:27 +08:00
net/local: remove duplicate assert condition
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user