From: Grant Coady Date: Tue, 22 Nov 2005 05:32:28 +0000 (-0800) Subject: [PATCH] cpufreq: silence cpufreq for UP X-Git-Tag: v2.6.15-rc4~77 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e738cf6d03786486b7e1adbaed1c5c4e14d23626;p=linux-2.6-omap-h63xx.git [PATCH] cpufreq: silence cpufreq for UP 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 Signed-off-by: Linus Torvalds --- diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 23a63207d74..1c0f62d0f93 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -693,8 +693,8 @@ static int cpufreq_remove_dev (struct sys_device * sys_dev) 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