[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-trivial] [PATCH] spapr: drop redundant statement in
From: |
Laurent Vivier |
Subject: |
Re: [Qemu-ppc] [Qemu-trivial] [PATCH] spapr: drop redundant statement in spapr_populate_drconf_memory() |
Date: |
Thu, 22 Nov 2018 15:51:53 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 22/11/2018 15:31, Greg Kurz wrote:
> Signed-off-by: Greg Kurz <address@hidden>
> ---
> hw/ppc/spapr.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
> index 9c41098b5781..7771a628f879 100644
> --- a/hw/ppc/spapr.c
> +++ b/hw/ppc/spapr.c
> @@ -893,8 +893,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;
>
>
Reviewed-by: Laurent Vivier <address@hidden>