forked from Minki/linux
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:
parent
74cad4ee98
commit
b188e4ce3b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user