rcu-tasks: Convert rcu_tasks_wait_gp() for-loop to while-loop
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 15 Sep 2020 22:41:50 +0000 (15:41 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 3 Nov 2020 01:12:42 +0000 (17:12 -0800)
commit77dc174103fdb121c47621e9856d73704b7eddd2
tree003a579a37d45a308f1a8402db455a6aabd8bd09
parente1eb075ccf3766860b7aa3f104ca29dcb8a46ed0
rcu-tasks: Convert rcu_tasks_wait_gp() for-loop to while-loop

The infinite for-loop in rcu_tasks_wait_gp() has its only exit at the
top of the loop, so this commit does the straightforward conversion to
a while-loop, thus saving a few lines.

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