Re: [PATCH] cpufreq: vexpress: Drop unused variable

From: Kees Cook
Date: Thu Sep 09 2021 - 22:58:41 EST


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@xxxxxxxxxx>
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

I hit this in build testing too.

--
Kees Cook