]> 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)
commitfb811a305fc8554d6f8facdf0d910b7ac3a2ecee
treed0d09aa042aa91ed38a3dc58b95d755e6c9c393c
parent9699e088d2babab593b2fcac37d965dd056293fb
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: 05a7557634 ("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