pc-dimm: Drop @errp argument of pc_dimm_plug()
commit84fd54961933a324e99bb52d0cc1de0ac9b7780e
authorGreg Kurz <groug@kaod.org>
Mon, 19 Oct 2020 08:48:04 +0000 (19 10:48 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 27 Oct 2020 14:08:53 +0000 (28 01:08 +1100)
treeab251111d0c036daff797cc94df0abf7527b160e
parent3cff86f036142057368b6040a8c78dce225500c7
pc-dimm: Drop @errp argument of pc_dimm_plug()

pc_dimm_plug() doesn't use it. It only aborts on error.

Drop @errp and adapt the callers accordingly.

[dwg: Removed unused label to fix compile]
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <160309728447.2739814.12831204841251148202.stgit@bahia.lan>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/arm/virt.c
hw/i386/pc.c
hw/mem/pc-dimm.c
hw/ppc/spapr.c
include/hw/mem/pc-dimm.h