Commit 882288c0 authored by Thomas Graf's avatar Thomas Graf Committed by David S. Miller

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: a8c5f90f ("ip_tunnel: Ops registration for secondary encap (fou, gue)")
Signed-off-by: default avatarThomas Graf <tgraf@suug.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9dfa9a27
......@@ -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)
{
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment