]> git.karo-electronics.de Git - linux-beck.git/commit
PCI/ACPI: Drop unnecessary _OSC existence tests
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 5 Sep 2013 21:07:41 +0000 (15:07 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 23 Sep 2013 23:40:46 +0000 (17:40 -0600)
commit4ffe6e54b0ce259d254e7740a7a4a99dad14a484
tree2b2004a308020093e6a9b3a5642951ce63351764
parent7dab9ef4f0823072a3c9afdb3b373c9f2f38848b
PCI/ACPI: Drop unnecessary _OSC existence tests

There's no need to check whether _OSC exists here; we eventually
call acpi_evaluate_object(..., "_OSC", ...), and that will fail
gracefully if _OSC doesn't exist.

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