From: Grant Coady drivers/cpufreq/cpufreq.c: In function `cpufreq_remove_dev': drivers/cpufreq/cpufreq.c:696: warning: unused variable `cpu_sys_dev' Signed-off-by: Grant Coady Cc: Dave Jones Signed-off-by: Andrew Morton --- drivers/cpufreq/cpufreq.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/cpufreq/cpufreq.c~cpufreq-silence-warning-for-up drivers/cpufreq/cpufreq.c --- devel/drivers/cpufreq/cpufreq.c~cpufreq-silence-warning-for-up 2005-11-12 14:03:41.000000000 -0800 +++ devel-akpm/drivers/cpufreq/cpufreq.c 2005-11-12 14:03:41.000000000 -0800 @@ -693,8 +693,8 @@ static int cpufreq_remove_dev (struct sy unsigned int cpu = sys_dev->id; unsigned long flags; struct cpufreq_policy *data; - struct sys_device *cpu_sys_dev; #ifdef CONFIG_SMP + struct sys_device *cpu_sys_dev; unsigned int j; #endif _