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

- From: Kees Cook \<hidden\>
- Date: 2021-09-10 02:56:06 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2021/09/1503066
- Thread: https://ratatoskr.run/linux-pm/2021/09/1502465/t.md

```text
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@linaro.org>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>

Reviewed-by: Kees Cook <redacted>

I hit this in build testing too.

-- 
Kees Cook

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
