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-Tag: v3.6-rc2~24^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e7dfbc8d1ea9ca9058aa641a8fe795ebca320e2;p=platform%2Fkernel%2Flinux-stable.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 a7b3ec9..20dfd89 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);