[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] load_elf: Remove unused address variables from callers
From: |
Max Filippov |
Subject: |
Re: [PATCH] load_elf: Remove unused address variables from callers |
Date: |
Tue, 7 Jul 2020 12:17:09 -0700 |
On Sun, Jul 5, 2020 at 10:40 AM BALATON Zoltan <balaton@eik.bme.hu> wrote:
>
> Several callers of load_elf() pass pointers for lowaddr and highaddr
> parameters which are then not used for anything. This may stem from a
> misunderstanding that load_elf need a value here but in fact it can
> take NULL to ignore these values. Remove such unused variables and
> pass NULL instead from callers that don't need these.
>
> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
> ---
[...]
> hw/xtensa/sim.c | 3 +--
> hw/xtensa/xtfpga.c | 3 +--
For Xtensa parts:
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
--
Thanks.
-- Max