Jeff Garzik wrote:arch/x86/kernel/early-quirks.c:40: warning: ânvidia_hpet_checkâ defined but not used
Signed-off-by: Jeff Garzik <jgarzik@xxxxxxxxxx>
---
diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c
index dc34acb..639e632 100644
--- a/arch/x86/kernel/early-quirks.c
+++ b/arch/x86/kernel/early-quirks.c
@@ -35,12 +35,14 @@ static void __init via_bugs(void)
}
#ifdef CONFIG_ACPI
+#ifdef CONFIG_X86_IO_APIC
Why not #if defined(CONFIG_ACPI) && defined(CONFIG_X86_IO_APIC)? Saves
a line and a layer of #if(def).