summaryrefslogtreecommitdiffstats
path: root/net/mpls/af_mpls.c
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2016-09-01 17:51:07 +0200
committerDavid S. Miller <davem@davemloft.net>2016-09-01 19:13:15 +0200
commitce927bf174b69328e953a77730e12065c19e87cb (patch)
treedc0e5220677444d83dd7647780a6070da9ca7cce /net/mpls/af_mpls.c
parentnet: xgene: fix backward compatibility fix (diff)
downloadlinux-ce927bf174b69328e953a77730e12065c19e87cb.tar.xz
linux-ce927bf174b69328e953a77730e12065c19e87cb.zip
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>
Diffstat (limited to 'net/mpls/af_mpls.c')
-rw-r--r--net/mpls/af_mpls.c5
1 files changed, 0 insertions, 5 deletions
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,