diff options
author | Stratos Karafotis <stratosk@semaphore.gr> | 2013-08-26 20:37:28 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-08-28 22:03:02 +0200 |
commit | 934dac1ea072bd8adff8d6a6abba561731e093cf (patch) | |
tree | ee7b24fe58e60f1bd04c250f0d278d32115ee320 /drivers/cpufreq/cpufreq_governor.c | |
parent | cpufreq: Fix timer/workqueue corruption due to double queueing (diff) | |
download | linux-934dac1ea072bd8adff8d6a6abba561731e093cf.tar.xz linux-934dac1ea072bd8adff8d6a6abba561731e093cf.zip |
cpufreq: governors: Remove duplicate check of target freq in supported range
Function __cpufreq_driver_target() checks if target_freq is within
policy->min and policy->max range. generic_powersave_bias_target() also
checks if target_freq is valid via a cpufreq_frequency_table_target()
call. So, drop the unnecessary duplicate check in *_check_cpu().
Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq_governor.c')
0 files changed, 0 insertions, 0 deletions