Skip to content

Commit

Permalink
ACPI: fix CONFIG_ACPI_PROCFS=n build warning
Browse files Browse the repository at this point in the history
drivers/acpi/processor_idle.c:1162: warning: unused variable ‘entry’

Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Len Brown committed Jun 24, 2009
1 parent 74cad4e commit b188e4c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/acpi/processor_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b188e4c

Please sign in to comment.