Message ID | 1458053975-2410-33-git-send-email-mst@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index 9ff3f5c..4692485 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);