net/local: remove dead code

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2022-09-27 16:27:59 +08:00 committed by Xiang Xiao
parent 059497d1d1
commit aa42f29465

View File

@ -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