提交 882288c0 编写于 作者: T Thomas Graf 提交者: 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: NThomas Graf <tgraf@suug.ch>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 9dfa9a27
...@@ -856,7 +856,7 @@ static int ip_tunnel_encap_add_fou_ops(void) ...@@ -856,7 +856,7 @@ static int ip_tunnel_encap_add_fou_ops(void)
return 0; return 0;
} }
static int ip_tunnel_encap_del_fou_ops(void) static void ip_tunnel_encap_del_fou_ops(void)
{ {
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册