projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5ba752
)
isa-bus: Drop isabus_bridge_init() since it does nothing
author
Hu Tao
<hutao@cn.fujitsu.com>
Mon, 1 Jul 2013 10:18:42 +0000
(18:18 +0800)
committer
Andreas Färber
<afaerber@suse.de>
Mon, 22 Jul 2013 22:37:35 +0000
(
00:37
+0200)
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>
hw/isa/isa-bus.c
patch
|
blob
|
history
diff --git
a/hw/isa/isa-bus.c
b/hw/isa/isa-bus.c
index cfd610c681630cb145eb5780a1ce9d59a2eeab19..9e104eb9a7ca804b4301497cac8b8dccb50979ad 100644
(file)
--- 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;
}