list rcu_torture_freelist has been inited staticly through LIST_HEAD, so there's no need to call another INIT_LIST_HEAD. Simply remove it. Signed-off-by: Haowen Bai <baihaowen@xxxxxxxxx> --- kernel/rcu/rcutorture.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/rcu/rcutorture.c b/kernel/rcu/rcutorture.c index faf6b4c7a757..0005e259c4ce 100644 --- a/kernel/rcu/rcutorture.c +++ b/kernel/rcu/rcutorture.c @@ -3247,7 +3247,6 @@ rcu_torture_init(void) /* Set up the freelist. */ - INIT_LIST_HEAD(&rcu_torture_freelist); for (i = 0; i < ARRAY_SIZE(rcu_tortures); i++) { rcu_tortures[i].rtort_mbtest = 0; list_add_tail(&rcu_tortures[i].rtort_free, -- 2.7.4