diff options
author | Markus Armbruster | 2020-06-30 11:03:37 +0200 |
---|---|---|
committer | Markus Armbruster | 2020-07-02 06:25:29 +0200 |
commit | 123327d14e8ccca3e94986a9ea48fc61e8c2357d (patch) | |
tree | ec2db34ba711727899165ff87af979ae0faf7fb2 /hw/scsi/mptendian.c | |
parent | vnc: Plug minor memory leak in vnc_display_open() (diff) | |
download | qemu-123327d14e8ccca3e94986a9ea48fc61e8c2357d.tar.gz qemu-123327d14e8ccca3e94986a9ea48fc61e8c2357d.tar.xz qemu-123327d14e8ccca3e94986a9ea48fc61e8c2357d.zip |
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/scsi/mptendian.c')
0 files changed, 0 insertions, 0 deletions