aboutsummaryrefslogtreecommitdiff
path: root/hw/sparc64
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-11-20 13:36:49 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-01-05 16:20:15 +0100
commit419d8524a266ece5ea44e689174ab026df888d08 (patch)
treec80a2080ef17c744749535bb7568f2e5c7118a0d /hw/sparc64
parent2198f5f0f2f3f5470a9e3c0c1431dec022bb67ad (diff)
downloadqemu-419d8524a266ece5ea44e689174ab026df888d08.zip
qemu-419d8524a266ece5ea44e689174ab026df888d08.tar.gz
qemu-419d8524a266ece5ea44e689174ab026df888d08.tar.bz2
hw/arm: Simplify memory_region_init_rom() calls
Mechanical change using the following coccinelle script: @@ expression mr, owner, arg3, arg4, errp; @@ - memory_region_init_rom(mr, owner, arg3, arg4, &errp); if ( - errp + !memory_region_init_rom(mr, owner, arg3, arg4, &errp) ) { ... return; } and removing the local Error variable. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> Reviewed-by: Gavin Shan <gshan@redhat.com> Message-Id: <20231120213301.24349-22-philmd@linaro.org>
Diffstat (limited to 'hw/sparc64')
0 files changed, 0 insertions, 0 deletions