]> git.ipfire.org Git - thirdparty/linux.git/commit
rcutorture: Remove redundant rcutorture_one_extend() from rcu_torture_one_read()
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 5 Nov 2025 20:20:00 +0000 (12:20 -0800)
committerFrederic Weisbecker <frederic@kernel.org>
Wed, 5 Nov 2025 23:03:15 +0000 (00:03 +0100)
commitd4500d68bc9f6d01fab046f706ff88674604cd75
treec717854fd10056b3fd1e748dca20f909909891b3
parentf121fbbdafeb98c5961c83d23628eee96e6dc28a
rcutorture: Remove redundant rcutorture_one_extend() from rcu_torture_one_read()

This commit removes a harmless but potentially confusing invocation of
rcutorture_one_extend() within rcu_torture_one_read().  The immediately
preceding call to rcu_torture_one_read_start() already does this cleanup,
and the other call to rcu_torture_one_read_start() already relies on this.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
kernel/rcu/rcutorture.c