aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/cpu/cpufreq
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-10-20 14:31:01 -0700
committerDave Jones <davej@redhat.com>2006-10-21 01:33:13 -0400
commitfe0f96020d5158b6579548666c842706ce3af371 (patch)
treeeb9d1f30cafa045b7865661ce4fb2b21a76aafa1 /arch/i386/kernel/cpu/cpufreq
parent[CPUFREQ] handle sysfs errors (diff)
downloadlinux-dev-fe0f96020d5158b6579548666c842706ce3af371.tar.xz
linux-dev-fe0f96020d5158b6579548666c842706ce3af371.zip
[CPUFREQ] speedstep-centrino: remove dead code
arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c:396: warning: 'sw_any_bug_dmi_table' defined but not used Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/i386/kernel/cpu/cpufreq')
-rw-r--r--arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c b/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
index 70178bf8002d..f6afa239d513 100644
--- a/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
+++ b/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
@@ -392,7 +392,7 @@ static int sw_any_bug_found(struct dmi_system_id *d)
return 0;
}
-
+#ifdef CONFIG_SMP
static struct dmi_system_id sw_any_bug_dmi_table[] = {
{
.callback = sw_any_bug_found,
@@ -405,7 +405,7 @@ static struct dmi_system_id sw_any_bug_dmi_table[] = {
},
{ }
};
-
+#endif
/*
* centrino_cpu_init_acpi - register with ACPI P-States library