Re: [PATCH] cpufreq: schedutil: Simplify sugov_fast_switch()

2020-10-06 Thread Viresh Kumar
On 06-10-20, 14:01, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Drop a redundant local variable definition from sugov_fast_switch() > and rearrange the code in there to avoid the redundant logical > negation. > > Signed-off-by: Rafael J. Wysocki > --- > > The code reads a bit easier

[PATCH] cpufreq: schedutil: Simplify sugov_fast_switch()

2020-10-06 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Drop a redundant local variable definition from sugov_fast_switch() and rearrange the code in there to avoid the redundant logical negation. Signed-off-by: Rafael J. Wysocki --- The code reads a bit easier after this change IMV. linux-next material. --- kernel/sched/