Browse Source

ACPI: Get rid of 'unused variable' warning in acpi_ev_global_lock_handler()

Fix this warning :
  drivers/acpi/events/evmisc.c: In function `acpi_ev_global_lock_handler':
  drivers/acpi/events/evmisc.c:334: warning: unused variable `status'

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Jesper Juhl 18 years ago
parent
commit
6b15484ccb
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/acpi/events/evmisc.c

+ 0 - 1
drivers/acpi/events/evmisc.c

@@ -331,7 +331,6 @@ static void ACPI_SYSTEM_XFACE acpi_ev_global_lock_thread(void *context)
 static u32 acpi_ev_global_lock_handler(void *context)
 static u32 acpi_ev_global_lock_handler(void *context)
 {
 {
 	u8 acquired = FALSE;
 	u8 acquired = FALSE;
-	acpi_status status;
 
 
 	/*
 	/*
 	 * Attempt to get the lock
 	 * Attempt to get the lock