diff --git a/net/tcp/tcp_send_buffered.c b/net/tcp/tcp_send_buffered.c index c808117ee29..3fe99b8b519 100644 --- a/net/tcp/tcp_send_buffered.c +++ b/net/tcp/tcp_send_buffered.c @@ -1206,11 +1206,6 @@ ssize_t psock_tcp_send(FAR struct socket *psock, FAR const void *buf, goto errout; } - /* If net_lockedwait failed, then we were probably reawakened by a signal. - * In this case, net_lockedwait will have returned negated errno - * appropriately. - */ - if (ret < 0) { goto errout; diff --git a/net/tcp/tcp_wrbuffer.c b/net/tcp/tcp_wrbuffer.c index ef0eb84f9ac..f8d0a09de8e 100644 --- a/net/tcp/tcp_wrbuffer.c +++ b/net/tcp/tcp_wrbuffer.c @@ -142,7 +142,7 @@ FAR struct tcp_wrbuffer_s *tcp_wrbuffer_alloc(void) /* We need to allocate two things: (1) A write buffer structure and (2) * at least one I/O buffer to start the chain. * - * Allocate the write buffer structure first then the IOBG. In order to + * Allocate the write buffer structure first then the IOB. In order to * avoid deadlocks, we will need to free the IOB first, then the write * buffer */