]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: vexpress: Drop unused variable
authorGuenter Roeck <linux@roeck-us.net>
Thu, 9 Sep 2021 18:47:14 +0000 (11:47 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Sep 2021 18:29:27 +0000 (11:29 -0700)
commitb50e5514c6c1ef19a46cb7a9583d72119ed98cb4
tree9fe3527223f575ef622b760aff8a08737fae8d00
parente1868631d792ccd73785626b089c1b636899800a
cpufreq: vexpress: Drop unused variable

arm:allmodconfig fails to build with the following error.

  drivers/cpufreq/vexpress-spc-cpufreq.c:454:13: error:
unused variable 'cur_cluster'

Remove the unused variable.

Fixes: d6a9b5ae0ad8 ("cpufreq: vexpress: Set CPUFREQ_IS_COOLING_DEV flag")
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/cpufreq/vexpress-spc-cpufreq.c