x86: acpi: pcihp: clean up duplicate bridge_in_acpi assignment
Signed-off-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20230112140312.3096331-9-imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
025cfbbac8
commit
f7b35824b1
@ -464,7 +464,6 @@ static void build_append_pci_bus_devices(Aml *parent_scope, PCIBus *bus,
|
|||||||
|
|
||||||
call_dev_aml_func(DEVICE(pdev), dev);
|
call_dev_aml_func(DEVICE(pdev), dev);
|
||||||
|
|
||||||
bridge_in_acpi = cold_plugged_bridge && pcihp_bridge_en;
|
|
||||||
if (bridge_in_acpi) {
|
if (bridge_in_acpi) {
|
||||||
/*
|
/*
|
||||||
* device is coldplugged bridge,
|
* device is coldplugged bridge,
|
||||||
|
Loading…
Reference in New Issue
Block a user