]> git.proxmox.com Git - mirror_qemu.git/commit
backends: Reduce variable scope in host_memory_backend_memory_complete
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 20 Nov 2023 14:16:38 +0000 (15:16 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 5 Jan 2024 15:20:15 +0000 (16:20 +0100)
commit3961613a760766921cdd6423ced0f801c2a6f1fc
treec4198060f32ee555a5b572898601777e558bc38c
parentfdb63cf3b57a230f4cc530ea2515229aeada0998
backends: Reduce variable scope in host_memory_backend_memory_complete

Reduce the &local_err variable use and remove the 'out:' label.

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-18-philmd@linaro.org>
backends/hostmem.c