mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
isa-bus: Drop isabus_bridge_init() since it does nothing
This works since commit 4ce5dae88e
.
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
[AF: Edited]
Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
f5ba752371
commit
52785d9951
1 changed files with 0 additions and 8 deletions
|
@ -192,18 +192,10 @@ static void isabus_dev_print(Monitor *mon, DeviceState *dev, int indent)
|
|||
}
|
||||
}
|
||||
|
||||
static int isabus_bridge_init(SysBusDevice *dev)
|
||||
{
|
||||
/* nothing */
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void isabus_bridge_class_init(ObjectClass *klass, void *data)
|
||||
{
|
||||
DeviceClass *dc = DEVICE_CLASS(klass);
|
||||
SysBusDeviceClass *k = SYS_BUS_DEVICE_CLASS(klass);
|
||||
|
||||
k->init = isabus_bridge_init;
|
||||
dc->fw_name = "isa";
|
||||
dc->no_user = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue