acpi: Don't save PcGuestInfo on AcpiBuildState
We don't need to save the pointer on AcpiBuildState, as it is not used anymore. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
This commit is contained in:
parent
fb306ffeba
commit
f944d4798c
|
@ -2545,7 +2545,6 @@ struct AcpiBuildState {
|
||||||
MemoryRegion *table_mr;
|
MemoryRegion *table_mr;
|
||||||
/* Is table patched? */
|
/* Is table patched? */
|
||||||
uint8_t patched;
|
uint8_t patched;
|
||||||
PcGuestInfo *guest_info;
|
|
||||||
void *rsdp;
|
void *rsdp;
|
||||||
MemoryRegion *rsdp_mr;
|
MemoryRegion *rsdp_mr;
|
||||||
MemoryRegion *linker_mr;
|
MemoryRegion *linker_mr;
|
||||||
|
@ -2826,8 +2825,6 @@ void acpi_setup(void)
|
||||||
|
|
||||||
build_state = g_malloc0(sizeof *build_state);
|
build_state = g_malloc0(sizeof *build_state);
|
||||||
|
|
||||||
build_state->guest_info = guest_info;
|
|
||||||
|
|
||||||
acpi_set_pci_info();
|
acpi_set_pci_info();
|
||||||
|
|
||||||
acpi_build_tables_init(&tables);
|
acpi_build_tables_init(&tables);
|
||||||
|
|
Loading…
Reference in a new issue