Skip to content

Commit b60cee5

Browse files
groecktorvalds
authored andcommitted
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: bb8c26d ("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>
1 parent 35a3f4e commit b60cee5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/cpufreq/vexpress-spc-cpufreq.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,6 @@ static int ve_spc_cpufreq_init(struct cpufreq_policy *policy)
451451
static int ve_spc_cpufreq_exit(struct cpufreq_policy *policy)
452452
{
453453
struct device *cpu_dev;
454-
int cur_cluster = cpu_to_cluster(policy->cpu);
455454

456455
cpu_dev = get_cpu_device(policy->cpu);
457456
if (!cpu_dev) {

0 commit comments

Comments
 (0)