summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-01-22 10:35:11 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-01-22 10:35:11 -0600
commitf64a3c3dd05685b73c5a2ef9e99d47fefa554894 (patch)
treed6dcb1f36c8e11c0d528e5339098582cbd88289f
parent39be556e8f56f604098c6fc77bf7078dd8615ab0 (diff)
downloadnuttx-f64a3c3dd05685b73c5a2ef9e99d47fefa554894.tar.gz
nuttx-f64a3c3dd05685b73c5a2ef9e99d47fefa554894.tar.bz2
nuttx-f64a3c3dd05685b73c5a2ef9e99d47fefa554894.zip
Forgot to remove some debug instrumentation in the last commit
-rw-r--r--nuttx/net/tcp/tcp_appsend.c1
-rw-r--r--nuttx/net/tcp/tcp_send.c2
-rw-r--r--nuttx/net/tcp/tcp_send_buffered.c5
3 files changed, 0 insertions, 8 deletions
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 */