[CPUFREQ] speedstep-centrino: remove dead code
authorAndrew Morton <akpm@osdl.org>
Fri, 20 Oct 2006 21:31:01 +0000 (14:31 -0700)
committerDave Jones <davej@redhat.com>
Sat, 21 Oct 2006 05:33:13 +0000 (01:33 -0400)
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>
arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c

index 70178bf8002d07bb1c89e7d63bf315659e851fd9..f6afa239d5139add5fc9889377d129ac836ed668 100644 (file)
@@ -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