diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-02-16 00:58:47 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-03-09 14:41:03 +0100 |
commit | 57eb832f90e645dcb97d651ad052c0537cc1b3a7 (patch) | |
tree | 838994064a7f00ef7f2edab4cab9813648315a68 /drivers/cpufreq/cpufreq_ondemand.c | |
parent | cpufreq: governor: Fix nice contribution computation in dbs_check_cpu() (diff) | |
download | linux-57eb832f90e645dcb97d651ad052c0537cc1b3a7.tar.xz linux-57eb832f90e645dcb97d651ad052c0537cc1b3a7.zip |
cpufreq: governor: Clean up load-related computations
Clean up some load-related computations in dbs_check_cpu() and
cpufreq_governor_start() to get rid of unnecessary operations and
type casts and make the code easier to read.
No functional changes.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/cpufreq_ondemand.c')
0 files changed, 0 insertions, 0 deletions