You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/09/27 13:31:54 UTC
[incubator-nuttx] branch master updated: net/local: remove dead code
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new aa42f29465 net/local: remove dead code
aa42f29465 is described below
commit aa42f29465777595cab94a2cac28c1b0bf253b95
Author: chao an <an...@xiaomi.com>
AuthorDate: Tue Sep 27 16:27:59 2022 +0800
net/local: remove dead code
Signed-off-by: chao an <an...@xiaomi.com>
---
net/local/local_recvmsg.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/local/local_recvmsg.c b/net/local/local_recvmsg.c
index fd6b87f590..265ed6c2fb 100644
--- a/net/local/local_recvmsg.c
+++ b/net/local/local_recvmsg.c
@@ -337,7 +337,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