[PATCH] cpufreq: vexpress: Drop unused variable

Kees Cook keescook at chromium.org
Thu Sep 9 19:55:22 PDT 2021


On Thu, Sep 09, 2021 at 11:47:14AM -0700, Guenter Roeck wrote:
> 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: bb8c26d9387f ("cpufreq: vexpress: Set CPUFREQ_IS_COOLING_DEV flag")
> Cc: Viresh Kumar <viresh.kumar at linaro.org>
> Signed-off-by: Guenter Roeck <linux at roeck-us.net>

Reviewed-by: Kees Cook <keescook at chromium.org>

I hit this in build testing too.

-- 
Kees Cook



More information about the linux-arm-kernel mailing list