diff --git a/net/tcp/tcp_callback.c b/net/tcp/tcp_callback.c index a43af2fb90..7aca15a281 100644 --- a/net/tcp/tcp_callback.c +++ b/net/tcp/tcp_callback.c @@ -113,7 +113,6 @@ tcp_data_event(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn, ninfo("Dropped %d bytes\n", dev->d_len); #ifdef CONFIG_NET_STATISTICS - g_netstats.tcp.syndrop++; g_netstats.tcp.drop++; #endif /* Clear the TCP_SNDACK bit so that no ACK will be sent */