You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/11/04 18:33:09 UTC

[incubator-nuttx] 02/04: tcp_send_unbuffered.c: Fix nxstyle errors

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 28d168e1b8b60df41b157977935ead0af4cc835e
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Wed Oct 13 10:48:16 2021 +0900

    tcp_send_unbuffered.c: Fix nxstyle errors
---
 net/tcp/tcp_send_unbuffered.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/net/tcp/tcp_send_unbuffered.c b/net/tcp/tcp_send_unbuffered.c
index 359da8c..c309e27 100644
--- a/net/tcp/tcp_send_unbuffered.c
+++ b/net/tcp/tcp_send_unbuffered.c
@@ -67,7 +67,6 @@
 #  define NEED_IPDOMAIN_SUPPORT 1
 #endif
 
-
 #define TCPIPv4BUF ((struct tcp_hdr_s *)&dev->d_buf[NET_LL_HDRLEN(dev) + IPv4_HDRLEN])
 #define TCPIPv6BUF ((struct tcp_hdr_s *)&dev->d_buf[NET_LL_HDRLEN(dev) + IPv6_HDRLEN])
 
@@ -243,7 +242,6 @@ static uint16_t tcpsend_eventhandler(FAR struct net_driver_s *dev,
 
       pstate->snd_sent = pstate->snd_acked;
 
-
       /* Fall through to re-send data from the last that was ACKed */
     }
 
@@ -301,7 +299,6 @@ static uint16_t tcpsend_eventhandler(FAR struct net_driver_s *dev,
 
       uint32_t sndlen = pstate->snd_buflen - pstate->snd_sent;
 
-
       if (sndlen > conn->mss)
         {
           sndlen = conn->mss;