diff --git a/net/tcp/tcp_send_buffered.c b/net/tcp/tcp_send_buffered.c index c73a4a1e98..83fea1bc2f 100644 --- a/net/tcp/tcp_send_buffered.c +++ b/net/tcp/tcp_send_buffered.c @@ -1287,11 +1287,6 @@ ssize_t psock_tcp_send(FAR struct socket *psock, FAR const void *buf, goto errout; } - if (ret < 0) - { - goto errout; - } - /* Return the number of bytes actually sent */ return result;