summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorSilviu-Mihai Popescu <silviupopescu1990@gmail.com>2012-08-04 11:31:29 +0200
committerDavid S. Miller <davem@davemloft.net>2012-08-06 22:29:56 +0200
commit8e7dfbc8d1ea9ca9058aa641a8fe795ebca320e2 (patch)
treef71cfe588cc48260bd74a5c74d2cc3aa6179d4ff /net/ipv4/tcp_output.c
parentdrivers/net/phy/mdio-mux-gpio.c: drop devm_kfree of devm_kzalloc'd data (diff)
downloadlinux-8e7dfbc8d1ea9ca9058aa641a8fe795ebca320e2.tar.xz
linux-8e7dfbc8d1ea9ca9058aa641a8fe795ebca320e2.zip
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/ipv4/tcp_output.c')
-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);