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
..
2020-10-21 11:36:19 +02:00
2021-10-21 08:03:58 -07:00
2021-11-01 18:49:10 -04:00
2021-11-01 18:49:10 -04:00
2020-09-09 15:26:41 +02:00
2021-11-01 18:49:10 -04:00
2021-11-01 18:49:10 -04:00