rcu: Remove dead code from rcu_segcblist_insert_pend_cbs()
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 16 Jan 2020 03:17:02 +0000 (19:17 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 20 Feb 2020 23:58:23 +0000 (15:58 -0800)
commit57721fd15a02f7df9dad1f3cca27f21e03ee118f
treeea42f8c686c4a3d3f08af64cac36440c2336d455
parent90c018942c2babab73814648b37808fc3bf2ed1a
rcu: Remove dead code from rcu_segcblist_insert_pend_cbs()

The rcu_segcblist_insert_pend_cbs() function currently (partially)
initializes the rcu_cblist that it pulls callbacks from.  However, all
the resulting stores are dead because all callers pass in the address of
an on-stack cblist that is not used afterwards.  This commit therefore
removes this pointless initialization.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/rcu_segcblist.c