Re: [PATCH v2 10/10] cpufreq: governor: Drop cpu argument from dbs_check_cpu()

From: Viresh Kumar
Date: Fri Feb 05 2016 - 04:16:45 EST


On 05-02-16, 03:21, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> Since policy->cpu is always passed as the second argument to
> dbs_check_cpu(), it is not really necessary to pass it, because
> the function can obtain that value via its first argument just fine.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> ---
> drivers/cpufreq/cpufreq_conservative.c | 2 +-
> drivers/cpufreq/cpufreq_governor.c | 5 +++--
> drivers/cpufreq/cpufreq_governor.h | 2 +-
> drivers/cpufreq/cpufreq_ondemand.c | 6 ++----
> 4 files changed, 7 insertions(+), 8 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

--
viresh