Skip to content

Commit 216f8bb

Browse files
edumazetdavem330
authored andcommitted
tcp/dccp: tw_timer_handler() is static
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent dd58c63 commit 216f8bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/ipv4/inet_timewait_sock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ void __inet_twsk_hashdance(struct inet_timewait_sock *tw, struct sock *sk,
170170
}
171171
EXPORT_SYMBOL_GPL(__inet_twsk_hashdance);
172172

173-
void tw_timer_handler(unsigned long data)
173+
static void tw_timer_handler(unsigned long data)
174174
{
175175
struct inet_timewait_sock *tw = (struct inet_timewait_sock *)data;
176176

0 commit comments

Comments
 (0)