aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r--net/ipv4/tcp_input.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index c5d7656beeee..bddf724f5c02 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -2333,9 +2333,9 @@ static bool tcp_any_retrans_done(const struct sock *sk)
2333 return false; 2333 return false;
2334} 2334}
2335 2335
2336#if FASTRETRANS_DEBUG > 1
2337static void DBGUNDO(struct sock *sk, const char *msg) 2336static void DBGUNDO(struct sock *sk, const char *msg)
2338{ 2337{
2338#if FASTRETRANS_DEBUG > 1
2339 struct tcp_sock *tp = tcp_sk(sk); 2339 struct tcp_sock *tp = tcp_sk(sk);
2340 struct inet_sock *inet = inet_sk(sk); 2340 struct inet_sock *inet = inet_sk(sk);
2341 2341
@@ -2357,10 +2357,8 @@ static void DBGUNDO(struct sock *sk, const char *msg)
2357 tp->packets_out); 2357 tp->packets_out);
2358 } 2358 }
2359#endif 2359#endif
2360}
2361#else
2362#define DBGUNDO(x...) do { } while (0)
2363#endif 2360#endif
2361}
2364 2362
2365static void tcp_undo_cwnd_reduction(struct sock *sk, bool unmark_loss) 2363static void tcp_undo_cwnd_reduction(struct sock *sk, bool unmark_loss)
2366{ 2364{