* Re: [KJ] [PATCH] drivers/acpi/events/evmisc.c: Compiler-noise
@ 2006-10-15 20:07 Andi Drebes
2006-10-15 20:07 ` Andi Drebes
0 siblings, 1 reply; 2+ messages in thread
From: Andi Drebes @ 2006-10-15 20:07 UTC (permalink / raw)
To: kernel-janitors
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.
Signed-off-by: Andi Drebes <webmaster@programmierforen.de>
---
diff --git a/drivers/acpi/events/evmisc.c b/drivers/acpi/events/evmisc.c
index ee2a10b..bf63edc 100644
--- a/drivers/acpi/events/evmisc.c
+++ b/drivers/acpi/events/evmisc.c
@@ -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
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [KJ] [PATCH] drivers/acpi/events/evmisc.c: Compiler-noise
2006-10-15 20:07 [KJ] [PATCH] drivers/acpi/events/evmisc.c: Compiler-noise Andi Drebes
@ 2006-10-15 20:07 ` Andi Drebes
0 siblings, 0 replies; 2+ messages in thread
From: Andi Drebes @ 2006-10-15 20:07 UTC (permalink / raw)
To: kernel-janitors
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.
Signed-off-by: Andi Drebes <webmaster@programmierforen.de>
---
diff --git a/drivers/acpi/events/evmisc.c b/drivers/acpi/events/evmisc.c
index ee2a10b..bf63edc 100644
--- a/drivers/acpi/events/evmisc.c
+++ b/drivers/acpi/events/evmisc.c
@@ -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
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-15 20:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-15 20:07 [KJ] [PATCH] drivers/acpi/events/evmisc.c: Compiler-noise Andi Drebes
2006-10-15 20:07 ` Andi Drebes
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.