Skip to contentSkip to conversation

fix warning in speedstep-centrino.c

PATCH New Holger Schurig 1 participant 1 message Nov 17, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix warning in speedstep-centrino.c

Fixes warning: 'sw_any_bug_dmi_table' defined but not used

arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c +2 -0
@@ -385,6 +385,7 @@
  * detected, this has a side effect of making CPU run at a different speed
  * than OS intended it to run at. Detect it and handle it cleanly.
  */
+#ifdef CONFIG_SMP
 static int bios_with_sw_any_bug;
 static int sw_any_bug_found(struct dmi_system_id *d)
 {
@@ -405,6 +406,7 @@
 	},
 	{ }
 };
+#endif
 
 
 /*