Commit e366d181 authored by Markus Armbruster's avatar Markus Armbruster Committed by David Gibson
Browse files

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: default avatarMarkus Armbruster <armbru@redhat.com>
Message-Id: <20190318190148.18283-1-armbru@redhat.com>
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent ebc184be
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1488,10 +1488,8 @@ static void spapr_pci_plug(HotplugHandler *plug_handler,
    }

out:
    if (local_err) {
    error_propagate(errp, local_err);
}
}

static void spapr_pci_unplug(HotplugHandler *plug_handler,
                             DeviceState *plugged_dev, Error **errp)