* [PATCH] Silence cpufreq warning for UP
@ 2005-11-12 3:53 Grant Coady
0 siblings, 0 replies; only message in thread
From: Grant Coady @ 2005-11-12 3:53 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
Greetings,
From: Grant Coady <gcoady@gmail.com>
Fix this warning for UP system:
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 <gcoady@gmail.com>
---
cpufreq.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.15-rc1a/drivers/cpufreq/cpufreq.c~ 2005-11-12 15:16:34.000000000 +1100
+++ linux-2.6.15-rc1a/drivers/cpufreq/cpufreq.c 2005-11-12 16:02:06.000000000 +1100
@@ -693,8 +693,8 @@
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
--
Thanks,
Grant.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-11-12 3:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-12 3:53 [PATCH] Silence cpufreq warning for UP Grant Coady
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®