public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH][Trivial] ACPI: Get rid of 'unused variable' warning in  acpi_ev_global_lock_handler()
@ 2006-11-02 12:13 Jesper Juhl
  2006-11-06 20:16 ` Len Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Jesper Juhl @ 2006-11-02 12:13 UTC (permalink / raw)
  To: Len Brown; +Cc: linux-kernel, linux-acpi, trivial, 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'


Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
---

 drivers/acpi/events/evmisc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH][Trivial] ACPI: Get rid of 'unused variable' warning in  acpi_ev_global_lock_handler()
  2006-11-02 12:13 [PATCH][Trivial] ACPI: Get rid of 'unused variable' warning in acpi_ev_global_lock_handler() Jesper Juhl
@ 2006-11-06 20:16 ` Len Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Len Brown @ 2006-11-06 20:16 UTC (permalink / raw)
  To: Jesper Juhl; +Cc: linux-kernel, linux-acpi, trivial

Applied.

thanks,
-Len

On Thursday 02 November 2006 07:13, Jesper Juhl wrote:
> 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>
> ---
> 
>  drivers/acpi/events/evmisc.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> 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
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-06 20:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-02 12:13 [PATCH][Trivial] ACPI: Get rid of 'unused variable' warning in acpi_ev_global_lock_handler() Jesper Juhl
2006-11-06 20:16 ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox