From: stephen hemminger Date: Thu, 1 Sep 2016 15:51:07 +0000 (-0700) Subject: mpls: get rid of trivial returns X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ce927bf174b69328e953a77730e12065c19e87cb;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git mpls: get rid of trivial returns return at end of function is useless. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- diff --git a/net/mpls/af_mpls.c b/net/mpls/af_mpls.c index 5c161e7759b5..0e4334cbde17 100644 --- a/net/mpls/af_mpls.c +++ b/net/mpls/af_mpls.c @@ -961,9 +961,6 @@ static void mpls_ifdown(struct net_device *dev, int event) RCU_INIT_POINTER(nh->nh_dev, NULL); } endfor_nexthops(rt); } - - - return; } static void mpls_ifup(struct net_device *dev, unsigned int nh_flags) @@ -997,8 +994,6 @@ static void mpls_ifup(struct net_device *dev, unsigned int nh_flags) ACCESS_ONCE(rt->rt_nhn_alive) = alive; } - - return; } static int mpls_dev_notify(struct notifier_block *this, unsigned long event,