Trivial update to some comments.

This commit is contained in:
Gregory Nutt 2018-07-06 17:37:26 -06:00
parent 6cb9f8001c
commit 23a8af2069
2 changed files with 1 additions and 6 deletions

View File

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

View File

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