mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
81146ec1b8
commit
089c34827e
5 changed files with 0 additions and 23 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue