diff options
author | Igor Mammedov <imammedo@redhat.com> | 2016-03-03 14:54:50 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-03-11 16:59:12 +0200 |
commit | ae2988350815c5d574f035e25c9735e457f5c1ac (patch) | |
tree | b32c32b67f7961b2469a449a50b06330c81eb271 /hw/i386/acpi-build.c | |
parent | f9735fd53f3b51abc707226ccfa418e6a7bb6c50 (diff) |
pc: acpi: remove NOP assignment
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/i386/acpi-build.c')
-rw-r--r-- | hw/i386/acpi-build.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index 9ff3f5c94f..46924854b3 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -2463,7 +2463,6 @@ build_srat(GArray *table_data, GArray *linker) srat = acpi_data_push(table_data, sizeof *srat); srat->reserved1 = cpu_to_le32(1); - core = (void *)(srat + 1); for (i = 0; i < pcms->apic_id_limit; ++i) { core = acpi_data_push(table_data, sizeof *core); |