summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-05-12 06:22:56 -0700
committerDavid S. Miller <davem@davemloft.net>2015-05-13 15:21:33 -0400
commit216f8bb9f67ff636769064f86812e1ce6466e4af (patch)
tree5141a2155205f38d409a1f24adeb3350fb362208 /net/ipv4
parentdd58c6359b38cff91100593ea4926adb19e85636 (diff)
downloadlinux-216f8bb9f67ff636769064f86812e1ce6466e4af.tar.gz
linux-216f8bb9f67ff636769064f86812e1ce6466e4af.tar.bz2
linux-216f8bb9f67ff636769064f86812e1ce6466e4af.zip
tcp/dccp: tw_timer_handler() is static
tw_timer_handler() is only used from net/ipv4/inet_timewait_sock.c Fixes: 789f558cfb36 ("tcp/dccp: get rid of central timewait timer") Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/inet_timewait_sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/inet_timewait_sock.c b/net/ipv4/inet_timewait_sock.c
index 00ec8d5d7e7e..2ffbd16b79e0 100644
--- a/net/ipv4/inet_timewait_sock.c
+++ b/net/ipv4/inet_timewait_sock.c
@@ -170,7 +170,7 @@ void __inet_twsk_hashdance(struct inet_timewait_sock *tw, struct sock *sk,
}
EXPORT_SYMBOL_GPL(__inet_twsk_hashdance);
-void tw_timer_handler(unsigned long data)
+static void tw_timer_handler(unsigned long data)
{
struct inet_timewait_sock *tw = (struct inet_timewait_sock *)data;