cpufreq: governors: Remove duplicate check of target freq in supported range
authorStratos Karafotis <stratosk@semaphore.gr>
Mon, 26 Aug 2013 18:37:28 +0000 (21:37 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 28 Aug 2013 20:03:02 +0000 (22:03 +0200)
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>

No differences found