aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2014-11-13 12:48:21 +0100
committerDavid S. Miller <davem@davemloft.net>2014-11-13 14:32:00 -0500
commit882288c05ede954e797baa623062f5ea06663ae1 (patch)
treed0d09aa042aa91ed38a3dc58b95d755e6c9c393c /net/ipv4
parentnet: systemport: fix tx work done in TX napi poll (diff)
downloadlinux-dev-882288c05ede954e797baa623062f5ea06663ae1.tar.xz
linux-dev-882288c05ede954e797baa623062f5ea06663ae1.zip
FOU: Fix no return statement warning for !CONFIG_NET_FOU_IP_TUNNELS
net/ipv4/fou.c: In function ‘ip_tunnel_encap_del_fou_ops’: net/ipv4/fou.c:861:1: warning: no return statement in function returning non-void [-Wreturn-type] Fixes: a8c5f90fb5 ("ip_tunnel: Ops registration for secondary encap (fou, gue)") Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/fou.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/fou.c b/net/ipv4/fou.c
index fe0907774ce8..b0b436b0692c 100644
--- a/net/ipv4/fou.c
+++ b/net/ipv4/fou.c
@@ -856,7 +856,7 @@ static int ip_tunnel_encap_add_fou_ops(void)
return 0;
}
-static int ip_tunnel_encap_del_fou_ops(void)
+static void ip_tunnel_encap_del_fou_ops(void)
{
}