diff options
author | Grant Coady <gcoady@gmail.com> | 2005-11-22 00:32:28 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-22 12:13:44 -0500 |
commit | e738cf6d03786486b7e1adbaed1c5c4e14d23626 (patch) | |
tree | b929202b33a993a38110aec3722d8fee75406c32 /drivers/cpufreq | |
parent | 0bd0f9fb190a0fc0fb25b764c8b04869711f7657 (diff) |
[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 <gcoady@gmail.com>
Cc: Dave Jones <davej@codemonkey.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 23a63207d747..1c0f62d0f938 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) | |||
693 | unsigned int cpu = sys_dev->id; | 693 | unsigned int cpu = sys_dev->id; |
694 | unsigned long flags; | 694 | unsigned long flags; |
695 | struct cpufreq_policy *data; | 695 | struct cpufreq_policy *data; |
696 | struct sys_device *cpu_sys_dev; | ||
697 | #ifdef CONFIG_SMP | 696 | #ifdef CONFIG_SMP |
697 | struct sys_device *cpu_sys_dev; | ||
698 | unsigned int j; | 698 | unsigned int j; |
699 | #endif | 699 | #endif |
700 | 700 | ||