]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit72ef4b1abaf5d2dbff60f9180ab56edac63a40a6
treed0d09aa042aa91ed38a3dc58b95d755e6c9c393c
parentc54ebbb0e6b1821fea2c02055bd0cfd7e16aee8d
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: 1539fdd201 ("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