From: Andrew Morton arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c:396: warning: 'sw_any_bug_dmi_table' defined but not used Cc: Dave Jones Signed-off-by: Andrew Morton --- arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c~speedstep-centrino-remove-dead-code arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c --- a/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c~speedstep-centrino-remove-dead-code +++ a/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c @@ -392,7 +392,7 @@ static int sw_any_bug_found(struct dmi_s 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_d }, { } }; - +#endif /* * centrino_cpu_init_acpi - register with ACPI P-States library _