[PATCH 16/28] kRemove a warning about unused variable in !CONFIG_ACPI compilation.

Jeremy Fitzhardinge
2007-04-14T21:27:42Z

[-- Attachment #1: i386-acpi-remove-earlyquirk-warning.patch --]
[-- Type: text/plain, Size: 711 bytes --]

From: Zachary Amsden <zach@vmware.com>
Signed-off-by: Zachary Amsden <zach@vmware.com>
CC: Trivial <trivial@kernel.org>

---
arch/i386/kernel/acpi/earlyquirk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

===================================================================
--- a/arch/i386/kernel/acpi/earlyquirk.c
+++ b/arch/i386/kernel/acpi/earlyquirk.c
@@ -21,8 +21,8 @@ static int __init nvidia_hpet_check(stru

static int __init check_bridge(int vendor, int device)
{
+#ifdef CONFIG_ACPI
static int warned;
-#ifdef CONFIG_ACPI
/* According to Nvidia all timer overrides are bogus unless HPET
is enabled. */
if (!acpi_use_timer_override && vendor == PCI_VENDOR_ID_NVIDIA) {

--