]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
spapr: drop redundant statement in spapr_populate_drconf_memory()
authorGreg Kurz <groug@kaod.org>
Thu, 22 Nov 2018 14:31:36 +0000 (15:31 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 20 Dec 2018 22:24:23 +0000 (09:24 +1100)
Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
hw/ppc/spapr.c

index b423db311e5ed29563acbd69189f6cef08389b7d..051d080fe53c03ef2432dc620012a2943545b1c9 100644 (file)
@@ -889,8 +889,6 @@ static int spapr_populate_drconf_memory(sPAPRMachineState *spapr, void *fdt)
     /* ibm,associativity-lookup-arrays */
     buf_len = (nr_nodes * 4 + 2) * sizeof(uint32_t);
     cur_index = int_buf = g_malloc0(buf_len);
-
-    cur_index = int_buf;
     int_buf[0] = cpu_to_be32(nr_nodes);
     int_buf[1] = cpu_to_be32(4); /* Number of entries per associativity list */
     cur_index += 2;