cpufreq: schedutil: Simplify sugov_fast_switch()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 6 Oct 2020 12:01:31 +0000 (14:01 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 7 Oct 2020 15:11:37 +0000 (17:11 +0200)
commit86836bac55f971995499978df4e62115d7baf5ef
tree70032b0ebf66450ff1f9f493398c680dacc44551
parenta17a733e377d288b3091fa79e6ce3ad5b5bf8753
cpufreq: schedutil: Simplify sugov_fast_switch()

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 <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
kernel/sched/cpufreq_schedutil.c