]> Pileus Git - ~andy/linux/blobdiff - net/ipv4/tcp_timer.c
TCP: remove TCP_DEBUG
[~andy/linux] / net / ipv4 / tcp_timer.c
index ecd44b0c45f160eca2f6679437fc62c5c31ec8b9..2e0f0af76c19b36032ab077afa2e2bf28467748b 100644 (file)
@@ -334,7 +334,6 @@ void tcp_retransmit_timer(struct sock *sk)
                 * connection. If the socket is an orphan, time it out,
                 * we cannot allow such beasts to hang infinitely.
                 */
-#ifdef TCP_DEBUG
                struct inet_sock *inet = inet_sk(sk);
                if (sk->sk_family == AF_INET) {
                        LIMIT_NETDEBUG(KERN_DEBUG "TCP: Peer %pI4:%u/%u unexpectedly shrunk window %u:%u (repaired)\n",
@@ -348,7 +347,6 @@ void tcp_retransmit_timer(struct sock *sk)
                               &np->daddr, ntohs(inet->inet_dport),
                               inet->inet_num, tp->snd_una, tp->snd_nxt);
                }
-#endif
 #endif
                if (tcp_time_stamp - tp->rcv_tstamp > TCP_RTO_MAX) {
                        tcp_write_err(sk);