rcutorture: Simplify rcu_torture_read_exit_child() loop
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 27 Apr 2022 18:46:02 +0000 (11:46 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 21 Jun 2022 22:56:46 +0000 (15:56 -0700)
commitd984114ec23818670c8873939eac81ba6e104ff5
tree098edae9655451a63d08eb656f78806e5f9653ec
parent14c0017c19ead104511dbcf6a59b83b2456d09af
rcutorture: Simplify rcu_torture_read_exit_child() loop

The existing loop has an implicit manual loop that obscures the flow
and requires an extra control variable.  This commit makes this implicit
loop explicit, thus saving several lines of code.

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