qemu/hw/mips
Peter Maydell 9d8299bf93 hw/mips/malta: Fix minor dead code issue
Coverity points out (in CID 1508390) that write_bootloader has
some dead code, where we assign to 'p' and then in the following
line assign to it again. This happened as a result of the
refactoring in commit cd5066f861.

Fix the dead code by removing the 'void *v' variable entirely and
instead adding a cast when calling bl_setup_gt64120_jump_kernel(), as
we do at its other callsite in write_bootloader_nanomips().

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2023-05-12 15:43:38 +01:00
..
bootloader.c
boston.c hw/mips: Declare all length properties as unsigned 2023-03-08 00:37:48 +01:00
cps.c hw/mips/itu: Pass SAAR using QOM link property 2023-03-08 00:37:48 +01:00
fuloong2e.c
fw_cfg.c
fw_cfg.h
jazz.c hw/isa: Rename isa_bus_irqs() -> isa_bus_register_input_irqs() 2023-02-27 22:29:02 +01:00
Kconfig
loongson3_bootp.c
loongson3_bootp.h
loongson3_virt.c
malta.c hw/mips/malta: Fix minor dead code issue 2023-05-12 15:43:38 +01:00
meson.build
mips_int.c
mipssim.c
trace-events
trace.h