diff options
author | Markus Armbruster <armbru@redhat.com> | 2020-06-30 11:03:37 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-07-02 06:25:29 +0200 |
commit | 123327d14e8ccca3e94986a9ea48fc61e8c2357d (patch) | |
tree | ec2db34ba711727899165ff87af979ae0faf7fb2 /hw/xen/xen-legacy-backend.c | |
parent | b94b3c02df87dc9cca1b395e836f6d83f3a3001f (diff) |
aspeed: Clean up roundabout error propagation
Replace
sysbus_realize(SYS_BUS_DEVICE(&s->spi[i]), &local_err);
error_propagate(&err, local_err);
if (err) {
error_propagate(errp, err);
return;
}
by
sysbus_realize(SYS_BUS_DEVICE(&s->spi[i]), &err);
if (err) {
error_propagate(errp, err);
return;
}
Cc: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20200630090351.1247703-13-armbru@redhat.com>
Diffstat (limited to 'hw/xen/xen-legacy-backend.c')
0 files changed, 0 insertions, 0 deletions