Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mpls: get rid of trivial returns

return at end of function is useless.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

stephen hemminger and committed by
David S. Miller
ce927bf1 ba3d0dda

-5
-5
net/mpls/af_mpls.c
··· 961 961 RCU_INIT_POINTER(nh->nh_dev, NULL); 962 962 } endfor_nexthops(rt); 963 963 } 964 - 965 - 966 - return; 967 964 } 968 965 969 966 static void mpls_ifup(struct net_device *dev, unsigned int nh_flags) ··· 994 997 995 998 ACCESS_ONCE(rt->rt_nhn_alive) = alive; 996 999 } 997 - 998 - return; 999 1000 } 1000 1001 1001 1002 static int mpls_dev_notify(struct notifier_block *this, unsigned long event,