net/hsr: using kfree_rcu() to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 16 Dec 2013 06:05:50 +0000 (14:05 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Dec 2013 21:32:30 +0000 (16:32 -0500)
commit1aee6cc2a5193aa9963ea49b0d452723c1d493d8
treefcf736be5536980161f34e429ccabd1261145689
parent7271174fbcbba04aa4f9a0822bedf0faa42d2f38
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>
net/hsr/hsr_framereg.c