qom: Drop object_property_del_child()'s unused parameter @errp
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-4-armbru@redhat.com>
This commit is contained in:
parent
ddfb0baaf2
commit
f73a32a514
@ -614,7 +614,7 @@ static void object_property_del_all(Object *obj)
|
||||
g_hash_table_unref(obj->properties);
|
||||
}
|
||||
|
||||
static void object_property_del_child(Object *obj, Object *child, Error **errp)
|
||||
static void object_property_del_child(Object *obj, Object *child)
|
||||
{
|
||||
ObjectProperty *prop;
|
||||
GHashTableIter iter;
|
||||
@ -644,7 +644,7 @@ static void object_property_del_child(Object *obj, Object *child, Error **errp)
|
||||
void object_unparent(Object *obj)
|
||||
{
|
||||
if (obj->parent) {
|
||||
object_property_del_child(obj->parent, obj, NULL);
|
||||
object_property_del_child(obj->parent, obj);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user