mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 09:56:47 +07: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
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user