Skip to contentSkip to conversation

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

PATCH Applied Jesper Juhl 2 participants 2 messages Nov 2, 2006 – Nov 6, 2006 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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'

---

 drivers/acpi/events/evmisc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/acpi/events/evmisc.c +0 -1
index ee2a10b..bf63edc 100644
@@ -331,7 +331,6 @@ static void ACPI_SYSTEM_XFACE acpi_ev_gl
 static u32 acpi_ev_global_lock_handler(void *context)
 {
 	u8 acquired = FALSE;
-	acpi_status status;
 
 	/*
 	 * Attempt to get the lock
Applied
#1 lore raw

Applied.

thanks,
-Len

Quoted 30 lines · Jesper Juhl

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'

---

 drivers/acpi/events/evmisc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/acpi/events/evmisc.c +0 -2
index ee2a10b..bf63edc 100644
@@ -331,7 +331,6 @@ static void ACPI_SYSTEM_XFACE acpi_ev_gl
 static u32 acpi_ev_global_lock_handler(void *context)
 {
 	u8 acquired = FALSE;
-	acpi_status status;
 
 	/*
 	 * Attempt to get the lock
 
 
-

To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html