diff options
author | Shan Wei <shanwei@cn.fujitsu.com> | 2011-02-19 21:55:45 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-20 11:10:14 -0800 |
commit | 089c34827e52346f0303d1e6a7b744c1f4da3095 (patch) | |
tree | 79f42bd0c4782aca57f3fe9d0f941f5c04b566a4 /net/ipv4/tcp_timer.c | |
parent | 81146ec1b85067e70b71e81b5ecd9998ce054c0e (diff) | |
download | kernel-common-089c34827e52346f0303d1e6a7b744c1f4da3095.tar.gz kernel-common-089c34827e52346f0303d1e6a7b744c1f4da3095.tar.bz2 kernel-common-089c34827e52346f0303d1e6a7b744c1f4da3095.zip |
tcp: Remove debug macro of TCP_CHECK_TIMER
Now, TCP_CHECK_TIMER is not used for debuging, it does nothing.
And, it has been there for several years, maybe 6 years.
Remove it to keep code clearer.
Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
-rw-r--r-- | net/ipv4/tcp_timer.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv4/tcp_timer.c b/net/ipv4/tcp_timer.c index 74a6aa003657..ecd44b0c45f1 100644 --- a/net/ipv4/tcp_timer.c +++ b/net/ipv4/tcp_timer.c @@ -259,7 +259,6 @@ static void tcp_delack_timer(unsigned long data) tcp_send_ack(sk); NET_INC_STATS_BH(sock_net(sk), LINUX_MIB_DELAYEDACKS); } - TCP_CHECK_TIMER(sk); out: if (tcp_memory_pressure) @@ -481,7 +480,6 @@ static void tcp_write_timer(unsigned long data) tcp_probe_timer(sk); break; } - TCP_CHECK_TIMER(sk); out: sk_mem_reclaim(sk); @@ -589,7 +587,6 @@ static void tcp_keepalive_timer (unsigned long data) elapsed = keepalive_time_when(tp) - elapsed; } - TCP_CHECK_TIMER(sk); sk_mem_reclaim(sk); resched: |