tcp/dccp: tw_timer_handler() is static
authorEric Dumazet <edumazet@google.com>
Tue, 12 May 2015 13:22:56 +0000 (06:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 May 2015 19:21:33 +0000 (15:21 -0400)
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>
net/ipv4/inet_timewait_sock.c

index 00ec8d5d7e7ee2f1c79dc7446127f13c7e23a331..2ffbd16b79e00279235244c3412046062a86fec5 100644 (file)
@@ -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;