summaryrefslogtreecommitdiffstats
path: root/hw/core/qdev-properties.c
diff options
context:
space:
mode:
authorMarkus Armbruster2020-05-05 17:29:23 +0200
committerMarkus Armbruster2020-05-15 07:08:14 +0200
commit40c2281cc3342573bd72895997b5cfaddee36ef2 (patch)
tree9d601436157ff3580dc45d1f5de54c6a462655e9 /hw/core/qdev-properties.c
parentqom: Drop parameter @errp of object_property_add() & friends (diff)
downloadqemu-40c2281cc3342573bd72895997b5cfaddee36ef2.tar.gz
qemu-40c2281cc3342573bd72895997b5cfaddee36ef2.tar.xz
qemu-40c2281cc3342573bd72895997b5cfaddee36ef2.zip
Drop more @errp parameters after previous commit
Several functions can't fail anymore: ich9_pm_add_properties(), device_add_bootindex_property(), ppc_compat_add_property(), spapr_caps_add_properties(), PropertyInfo.create(). Drop their @errp parameter. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20200505152926.18877-16-armbru@redhat.com>
Diffstat (limited to 'hw/core/qdev-properties.c')
-rw-r--r--hw/core/qdev-properties.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/core/qdev-properties.c b/hw/core/qdev-properties.c
index 2f294ec4a4..cc924815da 100644
--- a/hw/core/qdev-properties.c
+++ b/hw/core/qdev-properties.c
@@ -1250,7 +1250,7 @@ const PropertyInfo qdev_prop_size = {
/* --- object link property --- */
-static void create_link_property(ObjectClass *oc, Property *prop, Error **errp)
+static void create_link_property(ObjectClass *oc, Property *prop)
{
object_class_property_add_link(oc, prop->name, prop->link_type,
prop->offset,