FOU: Fix no return statement warning for !CONFIG_NET_FOU_IP_TUNNELS
authorThomas Graf <tgraf@suug.ch>
Thu, 13 Nov 2014 11:48:21 +0000 (12:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Nov 2014 19:32:00 +0000 (14:32 -0500)
commit882288c05ede954e797baa623062f5ea06663ae1
treed0d09aa042aa91ed38a3dc58b95d755e6c9c393c
parent9dfa9a27b620640322588df399eb8f624b48d877
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>
net/ipv4/fou.c