sysbus: sysbus_init_child_obj() is now unused, drop
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20200610053247.1583243-52-armbru@redhat.com>
···9393bool sysbus_realize(SysBusDevice *dev, Error **errp);
9494bool sysbus_realize_and_unref(SysBusDevice *dev, Error **errp);
95959696-/**
9797- * sysbus_init_child_obj:
9898- * @parent: The parent object
9999- * @childname: Used as name of the "child<>" property in the parent
100100- * @child: A pointer to the memory to be used for the object.
101101- * @childsize: The maximum size available at @child for the object.
102102- * @childtype: The name of the type of the object to instantiate.
103103- *
104104- * This function will initialize an object and attach it to the main system
105105- * bus. The memory for the object should have already been allocated. The
106106- * object will then be added as child to the given parent. The returned object
107107- * has a reference count of 1 (for the "child<...>" property from the parent),
108108- * so the object will be finalized automatically when the parent gets removed.
109109- */
110110-void sysbus_init_child_obj(Object *parent, const char *childname, void *child,
111111- size_t childsize, const char *childtype);
112112-11396/* Call func for every dynamically created sysbus device in the system */
11497void foreach_dynamic_sysbus_device(FindSysbusDeviceFunc *func, void *opaque);
11598