mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
7089e0cc46
commit
034b61d79f
2 changed files with 0 additions and 25 deletions
|
@ -355,14 +355,6 @@ BusState *sysbus_get_default(void)
|
|||
return main_system_bus;
|
||||
}
|
||||
|
||||
void sysbus_init_child_obj(Object *parent, const char *childname, void *child,
|
||||
size_t childsize, const char *childtype)
|
||||
{
|
||||
object_initialize_child_with_props(parent, childname, child, childsize,
|
||||
childtype, &error_abort, NULL);
|
||||
qdev_set_parent_bus(DEVICE(child), sysbus_get_default());
|
||||
}
|
||||
|
||||
static void sysbus_register_types(void)
|
||||
{
|
||||
type_register_static(&system_bus_info);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue