mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
ACPI: Remove a warning about unused variable in !CONFIG_ACPI compilation.
Signed-off-by: Zachary Amsden <zach@vmware.com> Cc: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
b2983f10f8
commit
afd3810d9b
1 changed files with 1 additions and 1 deletions
|
@ -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 warned;
|
||||
#ifdef CONFIG_ACPI
|
||||
static int warned;
|
||||
/* According to Nvidia all timer overrides are bogus unless HPET
|
||||
is enabled. */
|
||||
if (!acpi_use_timer_override && vendor == PCI_VENDOR_ID_NVIDIA) {
|
||||
|
|
Loading…
Reference in a new issue