net,rcu: convert call_rcu(phonet_device_rcu_free) to kfree_rcu()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Fri, 18 Mar 2011 04:09:03 +0000 (12:09 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 8 May 2011 05:51:10 +0000 (22:51 -0700)
commit7e113a9c759d1918fcbe456c5eb8890a4da62eaa
treea24b29cbd067739a068777bba7b0207016de987c
parentfa4bbc4ca5795fbf1303b98c924e51a21a920f14
net,rcu: convert call_rcu(phonet_device_rcu_free) to kfree_rcu()

The rcu callback phonet_device_rcu_free() just calls a kfree(),
so we use kfree_rcu() instead of the call_rcu(phonet_device_rcu_free).

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
net/phonet/pn_dev.c