From 23a8af20694934bda6188fa37f478cc648505450 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 6 Jul 2018 17:37:26 -0600 Subject: [PATCH] Trivial update to some comments. --- net/tcp/tcp_send_buffered.c | 5 ----- net/tcp/tcp_wrbuffer.c | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/net/tcp/tcp_send_buffered.c b/net/tcp/tcp_send_buffered.c index c808117ee2..3fe99b8b51 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 ef0eb84f9a..f8d0a09de8 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 */