ACPI: acpi-cpufreq: remove unused data when !CONFIG_SMP

acpi-cpufreq.c, speedstep-centrino.c: warning: 'sw_any_bug_dmi_table' defined but not used

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
Andrew Morton 2006-10-20 14:30:30 -07:00 committed by Len Brown
parent d0a9081b1e
commit 5c5e81aaa8
1 changed files with 2 additions and 0 deletions

View File

@ -402,6 +402,7 @@ static int sw_any_bug_found(struct dmi_system_id *d)
return 0; return 0;
} }
#ifdef CONFIG_SMP
static struct dmi_system_id sw_any_bug_dmi_table[] = { static struct dmi_system_id sw_any_bug_dmi_table[] = {
{ {
.callback = sw_any_bug_found, .callback = sw_any_bug_found,
@ -414,6 +415,7 @@ static struct dmi_system_id sw_any_bug_dmi_table[] = {
}, },
{ } { }
}; };
#endif
static int static int
acpi_cpufreq_cpu_init ( acpi_cpufreq_cpu_init (