PCI/ACPI: Remove unnecessary osc_lock
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 2 Jun 2020 22:27:33 +0000 (17:27 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 27 Jan 2021 15:38:32 +0000 (09:38 -0600)
commit866e61fc40c96e7adba62c9e149e96912b10663c
treea2289f204f6a4d88ebf6929715126ad76481351c
parent1423de718e6a0ce00372ab119fa40060ff50883e
PCI/ACPI: Remove unnecessary osc_lock

9778c14b4ca2 ("ACPI/PCI: Fix possible race condition on _OSC evaluation")
added locking around _OSC calls to protect the acpi_osc_data_list that
stored the results.

63f10f0f6df4 ("PCI/ACPI: move _OSC code to pci_root.c") moved the results
from acpi_osc_data_list to the struct acpi_pci_root, where it no longer
needs locking, but did not remove the lock.

Remove the unnecessary locking around _OSC calls.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/pci_root.c