aboutsummaryrefslogtreecommitdiff
path: root/hw/isa/isa-bus.c
diff options
context:
space:
mode:
authorHu Tao <hutao@cn.fujitsu.com>2013-07-01 18:18:42 +0800
committerAndreas Färber <afaerber@suse.de>2013-07-23 00:37:35 +0200
commit52785d99513e4f5d8c3d94f4362ff54aba88f33c (patch)
tree4dedbea9096972d9215cfb1358f57e6e3acd8d43 /hw/isa/isa-bus.c
parentf5ba752371b2fc493fdef05cb7e3141161fd1fab (diff)
downloadqemu-52785d99513e4f5d8c3d94f4362ff54aba88f33c.zip
qemu-52785d99513e4f5d8c3d94f4362ff54aba88f33c.tar.gz
qemu-52785d99513e4f5d8c3d94f4362ff54aba88f33c.tar.bz2
isa-bus: Drop isabus_bridge_init() since it does nothing
This works since commit 4ce5dae88ecf2bafa0cd663de7e923728b1b3672. Signed-off-by: Hu Tao <hutao@cn.fujitsu.com> [AF: Edited] Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/isa/isa-bus.c')
-rw-r--r--hw/isa/isa-bus.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/hw/isa/isa-bus.c b/hw/isa/isa-bus.c
index cfd610c..9e104eb 100644
--- a/hw/isa/isa-bus.c
+++ b/hw/isa/isa-bus.c
@@ -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;
}