diff options
author | Greg Kurz | 2020-09-14 14:34:59 +0200 |
---|---|---|
committer | David Gibson | 2020-10-09 01:15:06 +0200 |
commit | ebd226d221c4ef8192fc5b148e0aece07bd302d1 (patch) | |
tree | c9fe796edd9622d32f7595c6cce7d5c53b9d6a84 /include/hw/ppc/spapr.h | |
parent | spapr: Add a return value to spapr_drc_attach() (diff) | |
download | qemu-ebd226d221c4ef8192fc5b148e0aece07bd302d1.tar.gz qemu-ebd226d221c4ef8192fc5b148e0aece07bd302d1.tar.xz qemu-ebd226d221c4ef8192fc5b148e0aece07bd302d1.zip |
spapr: Simplify error handling in prop_get_fdt()
Use the return value of visit_check_struct() and visit_check_list()
for error checking instead of local_err. This allows to get rid of
the error propagation overhead.
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <20200914123505.612812-10-groug@kaod.org>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/ppc/spapr.h')
0 files changed, 0 insertions, 0 deletions