commit | 9c878ad6fbfc7934c9c4f6ba607c0842202afdbb | [log] [tgz] |
---|---|---|
author | Philippe Mathieu-Daudé <philmd@linaro.org> | Mon Nov 20 15:32:57 2023 +0100 |
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | Fri Jan 05 16:20:15 2024 +0100 |
tree | 21441e4eb19b3411e343cd84e17082842fe8c4c3 | |
parent | b622ee98bf784b093494a81c46667bd6e6324f1a [diff] |
misc: Simplify qemu_prealloc_mem() calls Since qemu_prealloc_mem() returns whether or not an error occured, we don't need to check the @errp pointer. Remove local_err uses when we can return directly. 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-20-philmd@linaro.org>