Skip to content

Commit

Permalink
tcp/dccp: tw_timer_handler() is static
Browse files Browse the repository at this point in the history
tw_timer_handler() is only used from net/ipv4/inet_timewait_sock.c

Fixes: 789f558 ("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>
  • Loading branch information
Eric Dumazet authored and David S. Miller committed May 13, 2015
1 parent dd58c63 commit 216f8bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv4/inet_timewait_sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 216f8bb

Please sign in to comment.