diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2012-08-26 18:20:45 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-31 15:55:38 -0400 |
commit | 80f0fd8a7f18af78dd26bf94230e89c3ae82d4ba (patch) | |
tree | c6ea2e22f54077651573a67391f3a6696315cf25 /kernel | |
parent | fc61b928dc4d72176cf4bd4d30bf1d22e599aefc (diff) | |
download | linux-80f0fd8a7f18af78dd26bf94230e89c3ae82d4ba.tar.gz linux-80f0fd8a7f18af78dd26bf94230e89c3ae82d4ba.tar.bz2 linux-80f0fd8a7f18af78dd26bf94230e89c3ae82d4ba.zip |
openvswitch: using kfree_rcu() to simplify the code
The callback function of call_rcu() just calls a kfree(), so we
can use kfree_rcu() instead of call_rcu() + callback function.
spatch with a semantic match is used to found this problem.
(http://coccinelle.lip6.fr/)
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions