diff --git a/net/tcp/tcp_send_buffered.c b/net/tcp/tcp_send_buffered.c index 546d429809..9f095e69f5 100644 --- a/net/tcp/tcp_send_buffered.c +++ b/net/tcp/tcp_send_buffered.c @@ -1551,12 +1551,6 @@ ssize_t psock_tcp_send(FAR struct socket *psock, FAR const void *buf, { iob_free_chain(iob); } - else - { - nerr("ERROR: no IOB available\n"); - ret = -EAGAIN; - goto errout_with_lock; - } } /* Dump I/O buffer chain */