From: Silviu-Mihai Popescu Date: Sat, 4 Aug 2012 09:31:29 +0000 (+0000) Subject: tcp_output: fix sparse warning for tcp_wfree X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=8e7dfbc8d1ea9ca9058aa641a8fe795ebca320e2;p=deliverable%2Flinux.git tcp_output: fix sparse warning for tcp_wfree Fix sparse warning: * symbol 'tcp_wfree' was not declared. Should it be static? Signed-off-by: Silviu-Mihai Popescu Signed-off-by: David S. Miller --- diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index a7b3ec9b6c3e..20dfd892c86f 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c @@ -940,7 +940,7 @@ void __init tcp_tasklet_init(void) * We cant xmit new skbs from this context, as we might already * hold qdisc lock. */ -void tcp_wfree(struct sk_buff *skb) +static void tcp_wfree(struct sk_buff *skb) { struct sock *sk = skb->sk; struct tcp_sock *tp = tcp_sk(sk);