ACPI: fix CONFIG_ACPI_PROCFS=n build warning

drivers/acpi/processor_idle.c:1162: warning: unused variable ‘entry’

Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
Len Brown 2009-06-24 01:48:32 -04:00
parent 74cad4ee98
commit b188e4ce3b

View File

@ -1160,7 +1160,9 @@ int __cpuinit acpi_processor_power_init(struct acpi_processor *pr,
{
acpi_status status = 0;
static int first_run;
#ifdef CONFIG_ACPI_PROCFS
struct proc_dir_entry *entry = NULL;
#endif
unsigned int i;
if (boot_option_idle_override)