Re: [PATCH] rcu: Remove unnecessary updates to ret in rcu_gp_fqs_loop

From: Paul E. McKenney
Date: Wed Jun 30 2021 - 00:23:20 EST


On Wed, Jun 30, 2021 at 11:22:53AM +0800, liu.song11@xxxxxxxxxx wrote:
> > 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.
>
> The revised commit log is exactly what I want to express, it is perfect.

Thank you for looking it over!

Thanx, Paul