summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-10-20 14:30:30 -0700
committerLen Brown <len.brown@intel.com>2006-10-21 01:29:38 -0400
commit5c5e81aaa821822309fd2663c22c94ca0802e407 (patch)
treec9af7e4e4868385ae0942a33619400e9be2ff691
parentd0a9081b1e75ba62bb4450c5b8e8299a41d25278 (diff)
downloadlinux-5c5e81aaa821822309fd2663c22c94ca0802e407.tar.gz
linux-5c5e81aaa821822309fd2663c22c94ca0802e407.tar.bz2
linux-5c5e81aaa821822309fd2663c22c94ca0802e407.zip
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>
-rw-r--r--arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
index 57c880bf0bd6..41e1289f8a42 100644
--- a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
+++ b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
@@ -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,
@@ -414,6 +415,7 @@ static struct dmi_system_id sw_any_bug_dmi_table[] = {
},
{ }
};
+#endif
static int
acpi_cpufreq_cpu_init (