Skip to content

Commit

Permalink
ACPI: acpi-cpufreq: remove unused data when !CONFIG_SMP
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and Len Brown committed Oct 21, 2006
1 parent d0a9081 commit 5c5e81a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,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,
Expand All @@ -414,6 +415,7 @@ static struct dmi_system_id sw_any_bug_dmi_table[] = {
},
{ }
};
#endif

static int
acpi_cpufreq_cpu_init (
Expand Down

0 comments on commit 5c5e81a

Please sign in to comment.