On 22-10-20, 13:57, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki <rafael.j.wyso...@intel.com> > > 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.wyso...@intel.com> > --- > drivers/cpufreq/cpufreq.c | 10 +++++----- > include/linux/cpufreq.h | 5 ----- > 2 files changed, 5 insertions(+), 10 deletions(-)
Acked-by: Viresh Kumar <viresh.ku...@linaro.org> -- viresh