diff options
author | Greg Kurz <groug@kaod.org> | 2020-09-14 14:34:59 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2020-10-09 10:15:06 +1100 |
commit | ebd226d221c4ef8192fc5b148e0aece07bd302d1 (patch) | |
tree | c9fe796edd9622d32f7595c6cce7d5c53b9d6a84 /backends | |
parent | 17548fe64a68e93deb25ac1d82f1585f916b59b1 (diff) |
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 'backends')
0 files changed, 0 insertions, 0 deletions