diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-11-20 15:32:57 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-01-05 16:20:15 +0100 |
commit | 9c878ad6fbfc7934c9c4f6ba607c0842202afdbb (patch) | |
tree | 21441e4eb19b3411e343cd84e17082842fe8c4c3 /configs | |
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>
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions