diff --git a/net/local/local_connect.c b/net/local/local_connect.c index a1ae96337c..53dd321905 100644 --- a/net/local/local_connect.c +++ b/net/local/local_connect.c @@ -316,8 +316,7 @@ int psock_local_connect(FAR struct socket *psock, if (conn->lc_proto == SOCK_STREAM) { ret = local_stream_connect(client, conn, - _SS_ISNONBLOCK(psock->s_flags), - state); + _SS_ISNONBLOCK(psock->s_flags)); } else {