Re: [PATCH 2/2] cpufreq: Drop restore_freq from struct cpufreq_policy
From: Viresh Kumar
Date: Fri Oct 23 2020 - 01:39:51 EST
On 22-10-20, 13:57, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> The restore_freq field in struct cpufreq_policy is only used by
> __target_index() in one place and a local variable in that function
> may as well be used instead of it, so drop it and modify
> __target_index() accordingly.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> ---
> drivers/cpufreq/cpufreq.c | 10 +++++-----
> include/linux/cpufreq.h | 5 -----
> 2 files changed, 5 insertions(+), 10 deletions(-)
Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
--
viresh