Ani Sinha 784802689f acpihp: simplify acpi_pcihp_disable_root_bus
Get rid of the static variable that keeps track of whether hotplug has been
disabled on the root pci bus. Simply use qbus_is_hotpluggable() api to
perform the same check. This eliminates additional if conditional and
simplifies the function.

Signed-off-by: Ani Sinha <ani@anisinha.ca>
Message-Id: <1640764674-7784-1-git-send-email-ani@anirban.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2022-01-07 19:30:13 -05:00
..
2021-10-27 14:45:22 +02:00
2021-10-12 08:20:08 +02:00
2022-01-05 09:06:36 +01:00
2021-10-12 08:20:08 +02:00
2021-11-09 13:16:56 +01:00
2022-01-05 09:06:36 +01:00
2022-01-05 09:06:36 +01:00
2021-11-17 11:25:55 -07:00