diff --git a/net/tcp/tcp_timer.c b/net/tcp/tcp_timer.c index d732a4e3af3..61929735827 100644 --- a/net/tcp/tcp_timer.c +++ b/net/tcp/tcp_timer.c @@ -711,11 +711,6 @@ void tcp_timer(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn) { tcp_xmit_probe(dev, conn); -#ifdef CONFIG_NET_TCP_WRITE_BUFFERS - /* Increment the un-ACKed sequence number */ - - conn->sndseq_max++; -#endif /* Update for the next probe */ conn->keeptimer = conn->keepintvl; @@ -757,12 +752,6 @@ void tcp_timer(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn) { tcp_xmit_probe(dev, conn); -#ifdef CONFIG_NET_TCP_WRITE_BUFFERS - /* Increment the un-ACKed sequence number */ - - conn->sndseq_max++; -#endif - /* Update for the next probe */ conn->nrtx++;