Skip to content

Commit

Permalink
FOU: Fix no return statement warning for !CONFIG_NET_FOU_IP_TUNNELS
Browse files Browse the repository at this point in the history
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: a8c5f90 ("ip_tunnel: Ops registration for secondary encap (fou, gue)")
Signed-off-by: Thomas Graf <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
tgraf authored and davem330 committed Nov 13, 2014
1 parent 9dfa9a2 commit 882288c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv4/fou.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
}

Expand Down

0 comments on commit 882288c

Please sign in to comment.