tcm_fc: Convert call_rcu() to kfree_rcu(), drop ft_tport_rcu_free()
authorPaul E. McKenney <paul.mckenney@linaro.org>
Sat, 7 Jan 2012 01:02:13 +0000 (17:02 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 21 Feb 2012 17:03:29 +0000 (09:03 -0800)
commita6c76da8f8b4549ccec7425ba94d8395d68a2e56
treeac2c59a5f20fa26c75e7193cbd0257554fb3b723
parentbc399d6e6ed8615007110f5e438886ffd236760e
tcm_fc: Convert call_rcu() to kfree_rcu(), drop ft_tport_rcu_free()

The call_rcu() in ft_tport_delete() invokes ft_tport_rcu_free(),
which just does a kfree().  So convert the call_rcu() to kfree_rcu(),
allowing ft_tport_rcu_free() to be eliminated.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: "Nicholas A. Bellinger" <nab@linux-iscsi.org>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Jesper Juhl <jj@chaosbits.net>
Cc: linux-scsi@vger.kernel.org
Cc: target-devel@vger.kernel.org
drivers/target/tcm_fc/tfc_sess.c