From ae2988350815c5d574f035e25c9735e457f5c1ac Mon Sep 17 00:00:00 2001 From: Igor Mammedov Date: Thu, 3 Mar 2016 14:54:50 +0100 Subject: [PATCH] pc: acpi: remove NOP assignment Signed-off-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/i386/acpi-build.c | 1 - 1 file changed, 1 deletion(-) 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);