Messages in this thread | | | Date | Tue, 29 Jun 2021 21:23:14 -0700 | From | "Paul E. McKenney" <> | Subject | Re: [PATCH] rcu: Remove unnecessary updates to ret in rcu_gp_fqs_loop |
| |
On Wed, Jun 30, 2021 at 11:22:53AM +0800, liu.song11@zte.com.cn 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
| |