summary refs log tree commit diff stats
path: root/hw/arm/fsl-imx6.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-11-20 15:32:57 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-01-05 16:20:15 +0100
commit9c878ad6fbfc7934c9c4f6ba607c0842202afdbb (patch)
tree21441e4eb19b3411e343cd84e17082842fe8c4c3 /hw/arm/fsl-imx6.c
parentb622ee98bf784b093494a81c46667bd6e6324f1a (diff)
downloadfocaccia-qemu-9c878ad6fbfc7934c9c4f6ba607c0842202afdbb.tar.gz
focaccia-qemu-9c878ad6fbfc7934c9c4f6ba607c0842202afdbb.zip
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 'hw/arm/fsl-imx6.c')
0 files changed, 0 insertions, 0 deletions