projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[NETFILTER] Makefile cleanup
[powerpc.git]
/
net
/
ipv4
/
multipath_wrandom.c
diff --git
a/net/ipv4/multipath_wrandom.c
b/net/ipv4/multipath_wrandom.c
index
bd7d75b
..
d34a9fa
100644
(file)
--- a/
net/ipv4/multipath_wrandom.c
+++ b/
net/ipv4/multipath_wrandom.c
@@
-207,16
+207,12
@@
static void wrandom_select_route(const struct flowi *flp,
decision = mpc->rt;
last_power = mpc->power;
decision = mpc->rt;
last_power = mpc->power;
- if (last_mpc)
- kfree(last_mpc);
-
+ kfree(last_mpc);
last_mpc = mpc;
}
last_mpc = mpc;
}
- if (last_mpc) {
- /* concurrent __multipath_flush may lead to !last_mpc */
- kfree(last_mpc);
- }
+ /* concurrent __multipath_flush may lead to !last_mpc */
+ kfree(last_mpc);
decision->u.dst.__use++;
*rp = decision;
decision->u.dst.__use++;
*rp = decision;