qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 08/14] acpi: Don't save PcGuestInfo on AcpiBu


From: Marcel Apfelbaum
Subject: Re: [Qemu-devel] [PATCH v2 08/14] acpi: Don't save PcGuestInfo on AcpiBuildState
Date: Tue, 15 Dec 2015 15:06:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 12/11/2015 08:42 PM, Eduardo Habkost wrote:
We don't need to save the pointer on AcpiBuildState, as it is not
used anymore.

Signed-off-by: Eduardo Habkost <address@hidden>
---
  hw/i386/acpi-build.c | 3 ---
  1 file changed, 3 deletions(-)

diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index 92d25c9..82d55bb 100644
--- a/hw/i386/acpi-build.c
+++ b/hw/i386/acpi-build.c
@@ -1648,7 +1648,6 @@ struct AcpiBuildState {
      MemoryRegion *table_mr;
      /* Is table patched? */
      uint8_t patched;
-    PcGuestInfo *guest_info;
      void *rsdp;
      MemoryRegion *rsdp_mr;
      MemoryRegion *linker_mr;
@@ -1922,8 +1921,6 @@ void acpi_setup(void)

      build_state = g_malloc0(sizeof *build_state);

-    build_state->guest_info = guest_info;
-
      acpi_set_pci_info();

      acpi_build_tables_init(&tables);


Reviewed-by: Marcel Apfelbaum <address@hidden>



reply via email to

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