mirror of https://gitee.com/openkylin/qemu.git
ssi: ssi_create_slave_no_init() is now unused, drop
Cc: Alistair Francis <alistair@alistair23.me> Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20200610053247.1583243-26-armbru@redhat.com>
This commit is contained in:
parent
7e272a0001
commit
7ce8d8c8d5
|
@ -90,11 +90,6 @@ static const TypeInfo ssi_slave_info = {
|
||||||
.abstract = true,
|
.abstract = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
DeviceState *ssi_create_slave_no_init(SSIBus *bus, const char *name)
|
|
||||||
{
|
|
||||||
return qdev_create(BUS(bus), name);
|
|
||||||
}
|
|
||||||
|
|
||||||
DeviceState *ssi_create_slave(SSIBus *bus, const char *name)
|
DeviceState *ssi_create_slave(SSIBus *bus, const char *name)
|
||||||
{
|
{
|
||||||
DeviceState *dev = qdev_new(name);
|
DeviceState *dev = qdev_new(name);
|
||||||
|
|
|
@ -79,7 +79,6 @@ extern const VMStateDescription vmstate_ssi_slave;
|
||||||
}
|
}
|
||||||
|
|
||||||
DeviceState *ssi_create_slave(SSIBus *bus, const char *name);
|
DeviceState *ssi_create_slave(SSIBus *bus, const char *name);
|
||||||
DeviceState *ssi_create_slave_no_init(SSIBus *bus, const char *name);
|
|
||||||
|
|
||||||
/* Master interface. */
|
/* Master interface. */
|
||||||
SSIBus *ssi_create_bus(DeviceState *parent, const char *name);
|
SSIBus *ssi_create_bus(DeviceState *parent, const char *name);
|
||||||
|
|
Loading…
Reference in New Issue