Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753375AbWKFUUT (ORCPT ); Mon, 6 Nov 2006 15:20:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753447AbWKFUUT (ORCPT ); Mon, 6 Nov 2006 15:20:19 -0500 Received: from hera.kernel.org ([140.211.167.34]:59096 "EHLO hera.kernel.org") by vger.kernel.org with ESMTP id S1753222AbWKFUUQ (ORCPT ); Mon, 6 Nov 2006 15:20:16 -0500 From: Len Brown Reply-To: Len Brown Organization: Intel Open Source Technology Center To: Jesper Juhl Subject: Re: [PATCH][Trivial] ACPI: Get rid of 'unused variable' warning in acpi_ev_global_lock_handler() Date: Mon, 6 Nov 2006 15:16:17 -0500 User-Agent: KMail/1.8.2 Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, trivial@kernel.org References: <200611021313.22709.jesper.juhl@gmail.com> In-Reply-To: <200611021313.22709.jesper.juhl@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611061516.17988.len.brown@intel.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1265 Lines: 41 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 > --- > > 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 > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/