mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 05:51:53 -06:00
spapr: Remove NULL checks on error_propagate() calls
Patch created mechanically by rerunning: $ spatch --sp-file scripts/coccinelle/error_propagate_null.cocci \ --macro-file scripts/cocci-macro-file.h \ --dir . --in-place Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190318190148.18283-1-armbru@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
ebc184be64
commit
e366d181ce
1 changed files with 1 additions and 3 deletions
|
@ -1488,9 +1488,7 @@ static void spapr_pci_plug(HotplugHandler *plug_handler,
|
||||||
}
|
}
|
||||||
|
|
||||||
out:
|
out:
|
||||||
if (local_err) {
|
error_propagate(errp, local_err);
|
||||||
error_propagate(errp, local_err);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void spapr_pci_unplug(HotplugHandler *plug_handler,
|
static void spapr_pci_unplug(HotplugHandler *plug_handler,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue