Skip to contentSkip to conversation

drivers/acpi/events/evmisc.c: Compiler-noise

PATCH Andi Drebes 1 participant 2 messages Oct 15, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

During the compilation of the latest kernel-source from the git repository, I got a notification like this:

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

So I just removed that.
Tested by compilation.

---

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

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

#1 lore raw

During the compilation of the latest kernel-source from the git repository, I got a notification like this:

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

So I just removed that.
Tested by compilation.

---

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

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors