From f64a3c3dd05685b73c5a2ef9e99d47fefa554894 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 22 Jan 2015 10:35:11 -0600 Subject: Forgot to remove some debug instrumentation in the last commit --- nuttx/net/tcp/tcp_appsend.c | 1 - nuttx/net/tcp/tcp_send.c | 2 -- nuttx/net/tcp/tcp_send_buffered.c | 5 ----- 3 files changed, 8 deletions(-) (limited to 'nuttx/net/tcp') diff --git a/nuttx/net/tcp/tcp_appsend.c b/nuttx/net/tcp/tcp_appsend.c index 7c91636ec..18f8b7427 100644 --- a/nuttx/net/tcp/tcp_appsend.c +++ b/nuttx/net/tcp/tcp_appsend.c @@ -239,7 +239,6 @@ void tcp_rexmit(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn, hdrlen = IPv6_HDRLEN; } #endif /* CONFIG_NET_IPv6 */ -lldbg("hdrlen=%d\n", hdrlen); // REMOVE ME /* If the application has data to be sent, or if the incoming packet had * new data in it, we must send out a packet. diff --git a/nuttx/net/tcp/tcp_send.c b/nuttx/net/tcp/tcp_send.c index ae1c573d9..a2ec76e3a 100644 --- a/nuttx/net/tcp/tcp_send.c +++ b/nuttx/net/tcp/tcp_send.c @@ -305,7 +305,6 @@ static void tcp_sendcommon(FAR struct net_driver_s *dev, FAR struct tcp_hdr_s *tcp) { /* Copy the IP address into the IPv6 header */ -lldbg("d_len=%d\n", dev->d_len); // REMOVE ME #ifdef CONFIG_NET_IPv6 #ifdef CONFIG_NET_IPv4 @@ -387,7 +386,6 @@ void tcp_send(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn, uint16_t flags, uint16_t len) { FAR struct tcp_hdr_s *tcp = tcp_header(dev); -lldbg("sndlen=%d len=%d d_len=%d\n", dev->d_sndlen, len, dev->d_len); // REMOVE ME tcp->flags = flags; dev->d_len = len; diff --git a/nuttx/net/tcp/tcp_send_buffered.c b/nuttx/net/tcp/tcp_send_buffered.c index 9b9a83f0f..cc4bc0326 100644 --- a/nuttx/net/tcp/tcp_send_buffered.c +++ b/nuttx/net/tcp/tcp_send_buffered.c @@ -350,7 +350,6 @@ static uint16_t psock_send_interrupt(FAR struct net_driver_s *dev, FAR sq_entry_t *entry; FAR sq_entry_t *next; uint32_t ackno; -lldbg("TCP_ACKDATA\n"); // REMOVE ME /* Get the offset address of the TCP header */ @@ -656,7 +655,6 @@ lldbg("TCP_ACKDATA\n"); // REMOVE ME if (dev->d_sndlen > 0) { /* Another thread has beat us sending data, wait for the next poll */ -lldbg("d_sndlen > 0, ABORTING\n"); // REMOVE ME return flags; } @@ -793,9 +791,6 @@ lldbg("d_sndlen > 0, ABORTING\n"); // REMOVE ME flags &= ~TCP_POLL; } -else { // REMOVE ME -lldbg("NOT sending!!!\n"); // REMOVE ME -} // REMOVE ME } /* Continue waiting */ -- cgit v1.2.3