projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba3d0dd
)
mpls: get rid of trivial returns
author
stephen hemminger
<stephen@networkplumber.org>
Thu, 1 Sep 2016 15:51:07 +0000
(08:51 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 1 Sep 2016 17:13:15 +0000
(10:13 -0700)
return at end of function is useless.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mpls/af_mpls.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mpls/af_mpls.c
b/net/mpls/af_mpls.c
index 5c161e7759b507b78416cdfc93f1500407ba288c..0e4334cbde17519cf69bbc099127c0d81a626467 100644
(file)
--- 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,