diff --git a/net/local/local_recvmsg.c b/net/local/local_recvmsg.c index fea79445b3b..07c391309da 100644 --- a/net/local/local_recvmsg.c +++ b/net/local/local_recvmsg.c @@ -248,7 +248,6 @@ psock_dgram_recvfrom(FAR struct socket *psock, FAR void *buf, size_t len, nerr("ERROR: Failed to open FIFO for %s: %d\n", conn->lc_path, ret); goto errout_with_halfduplex; - return ret; } /* Sync to the start of the next packet in the stream and get the size of