From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abTiZ-0005oX-Df for qemu-devel@nongnu.org; Thu, 03 Mar 2016 08:55:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abTiT-00088H-Ib for qemu-devel@nongnu.org; Thu, 03 Mar 2016 08:55:03 -0500 From: Igor Mammedov Date: Thu, 3 Mar 2016 14:54:50 +0100 Message-Id: <1457013290-269368-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH] pc: acpi: remove NOP assignment List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, ehabkost@redhat.com, mst@redhat.com Signed-off-by: Igor Mammedov --- 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 52c9470..453d61c 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -2386,7 +2386,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); -- 1.8.3.1