Commit afd3810d authored by Zachary Amsden's avatar Zachary Amsden Committed by Len Brown

ACPI: Remove a warning about unused variable in !CONFIG_ACPI compilation.

Signed-off-by: default avatarZachary Amsden <zach@vmware.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent b2983f10
...@@ -22,8 +22,8 @@ static int __init nvidia_hpet_check(struct acpi_table_header *header) ...@@ -22,8 +22,8 @@ static int __init nvidia_hpet_check(struct acpi_table_header *header)
static int __init check_bridge(int vendor, int device) static int __init check_bridge(int vendor, int device)
{ {
static int warned;
#ifdef CONFIG_ACPI #ifdef CONFIG_ACPI
static int warned;
/* According to Nvidia all timer overrides are bogus unless HPET /* According to Nvidia all timer overrides are bogus unless HPET
is enabled. */ is enabled. */
if (!acpi_use_timer_override && vendor == PCI_VENDOR_ID_NVIDIA) { if (!acpi_use_timer_override && vendor == PCI_VENDOR_ID_NVIDIA) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment