diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-12-16 14:05:50 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-17 16:32:30 -0500 |
commit | 1aee6cc2a5193aa9963ea49b0d452723c1d493d8 (patch) | |
tree | fcf736be5536980161f34e429ccabd1261145689 /net/packet/af_packet.c | |
parent | 7271174fbcbba04aa4f9a0822bedf0faa42d2f38 (diff) | |
download | op-kernel-dev-1aee6cc2a5193aa9963ea49b0d452723c1d493d8.zip op-kernel-dev-1aee6cc2a5193aa9963ea49b0d452723c1d493d8.tar.gz |
net/hsr: 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.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Arvid Brodin <arvid.brodin@alten.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/packet/af_packet.c')
0 files changed, 0 insertions, 0 deletions