Re: [PATCH] cpufreq: governors: Remove duplicate check of target freqin supported range

From: Viresh Kumar
Date: Wed Aug 28 2013 - 01:35:58 EST


On 27 August 2013 00:07, Stratos Karafotis <stratosk@xxxxxxxxxxxx> wrote:
> 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 through cpufreq_frequency_table_target
> call. So, drop the unnecessary duplicate check in *_check_cpu functions.
>
> Signed-off-by: Stratos Karafotis <stratosk@xxxxxxxxxxxx>
> ---
> drivers/cpufreq/cpufreq_conservative.c | 4 ----
> drivers/cpufreq/cpufreq_ondemand.c | 3 ---
> 2 files changed, 7 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/