aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSilviu-Mihai Popescu2012-08-04 09:31:29 +0000
committerDavid S. Miller2012-08-06 13:29:56 -0700
commit8e7dfbc8d1ea9ca9058aa641a8fe795ebca320e2 (patch)
treef71cfe588cc48260bd74a5c74d2cc3aa6179d4ff /net
parent7cefdd1f55ec075f1f2da0a321495d5a8262ffaa (diff)
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 <silviupopescu1990@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/tcp_output.c2
1 files changed, 1 insertions, 1 deletions
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);