lkml.org 
[lkml]   [2021]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2021-06-30 06:23    [W:0.026 / U:0.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site