ACPI: Get rid of 'unused variable' warning in acpi_ev_global_lock_handler()
authorJesper Juhl <jesper.juhl@gmail.com>
Thu, 2 Nov 2006 12:13:22 +0000 (13:13 +0100)
committerLen Brown <len.brown@intel.com>
Mon, 6 Nov 2006 20:14:56 +0000 (15:14 -0500)
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>
drivers/acpi/events/evmisc.c

index ee2a10b..bf63edc 100644 (file)
@@ -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)
 {
        u8 acquired = FALSE;
-       acpi_status status;
 
        /*
         * Attempt to get the lock