rcu: Remove useless "ret" update in rcu_gp_fqs_loop()
authorLiu Song <liu.song11@zte.com.cn>
Tue, 29 Jun 2021 13:55:51 +0000 (21:55 +0800)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 6 Aug 2021 20:41:48 +0000 (13:41 -0700)
commiteb880949ef41c98a203c4a033e06e05854d902ef
tree43a94396ec4646f662ec9f082114d185edf82663
parentd283aa1b04d9ad9ed34bfc2f51ffe0371a16ee3c
rcu: Remove useless "ret" update in rcu_gp_fqs_loop()

Within rcu_gp_fqs_loop(), the "ret" local variable is set to the
return value from swait_event_idle_timeout_exclusive(), but "ret" is
unconditionally overwritten later in the code.  This commit therefore
removes this useless assignment.

Signed-off-by: Liu Song <liu.song11@zte.com.cn>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree.c