-
- Downloads
hw/nvram: Simplify memory_region_init_rom_device() calls
Mechanical change using the following coccinelle script: @@ expression mr, owner, arg3, arg4, arg5, arg6, errp; @@ - memory_region_init_rom_device(mr, owner, arg3, arg4, arg5, arg6, &errp); if ( - errp + !memory_region_init_rom_device(mr, owner, arg3, arg4, arg5, arg6, &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-25-philmd@linaro.org>
Loading
Please register or sign in to comment