diff mbox series

[v2,1/3] hw/i386/acpi-build: Remove unused struct

Message ID 20221028103419.93398-2-shentey@gmail.com (mailing list archive)
State New, archived
Headers show
Series hw/i386: Cleanup AML generation for north and south bridges | expand

Commit Message

Bernhard Beschow Oct. 28, 2022, 10:34 a.m. UTC
Ammends commit b23046abe78f48498a423b802d6d86ba0172d57f 'pc: acpi-build:
simplify PCI bus tree generation'.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221026133110.91828-2-shentey@gmail.com>
---
 hw/i386/acpi-build.c | 7 -------
 1 file changed, 7 deletions(-)

Comments

Igor Mammedov Oct. 31, 2022, 12:32 p.m. UTC | #1
On Fri, 28 Oct 2022 12:34:17 +0200
Bernhard Beschow <shentey@gmail.com> wrote:

> Ammends commit b23046abe78f48498a423b802d6d86ba0172d57f 'pc: acpi-build:
> simplify PCI bus tree generation'.
> 
> Signed-off-by: Bernhard Beschow <shentey@gmail.com>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> Message-Id: <20221026133110.91828-2-shentey@gmail.com>

Reviewed-by: Igor Mammedov <imammedo@redhat.com>

> ---
>  hw/i386/acpi-build.c | 7 -------
>  1 file changed, 7 deletions(-)
> 
> diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
> index 960305462c..1ebf14b899 100644
> --- a/hw/i386/acpi-build.c
> +++ b/hw/i386/acpi-build.c
> @@ -121,13 +121,6 @@ typedef struct AcpiMiscInfo {
>      unsigned dsdt_size;
>  } AcpiMiscInfo;
>  
> -typedef struct AcpiBuildPciBusHotplugState {
> -    GArray *device_table;
> -    GArray *notify_table;
> -    struct AcpiBuildPciBusHotplugState *parent;
> -    bool pcihp_bridge_en;
> -} AcpiBuildPciBusHotplugState;
> -
>  typedef struct FwCfgTPMConfig {
>      uint32_t tpmppi_address;
>      uint8_t tpm_version;
diff mbox series

Patch

diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index 960305462c..1ebf14b899 100644
--- a/hw/i386/acpi-build.c
+++ b/hw/i386/acpi-build.c
@@ -121,13 +121,6 @@  typedef struct AcpiMiscInfo {
     unsigned dsdt_size;
 } AcpiMiscInfo;
 
-typedef struct AcpiBuildPciBusHotplugState {
-    GArray *device_table;
-    GArray *notify_table;
-    struct AcpiBuildPciBusHotplugState *parent;
-    bool pcihp_bridge_en;
-} AcpiBuildPciBusHotplugState;
-
 typedef struct FwCfgTPMConfig {
     uint32_t tpmppi_address;
     uint8_t tpm_version;