qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 08/40] x86: acpi: pcihp: clean up duplicate bridge_in_acpi assign


From: Igor Mammedov
Subject: [PATCH 08/40] x86: acpi: pcihp: clean up duplicate bridge_in_acpi assignment
Date: Thu, 12 Jan 2023 15:02:40 +0100

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
---
 hw/i386/acpi-build.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index 127c4e2d50..8a35c3cad0 100644
--- a/hw/i386/acpi-build.c
+++ b/hw/i386/acpi-build.c
@@ -466,7 +466,6 @@ static void build_append_pci_bus_devices(Aml *parent_scope, 
PCIBus *bus,
 
         call_dev_aml_func(DEVICE(pdev), dev);
 
-        bridge_in_acpi =  cold_plugged_bridge && pcihp_bridge_en;
         if (bridge_in_acpi) {
             /*
              * device is coldplugged bridge,
-- 
2.31.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]