aboutsummaryrefslogtreecommitdiff
path: root/hw/qdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/qdev.c')
-rw-r--r--hw/qdev.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/hw/qdev.c b/hw/qdev.c
index d93a6c4bf0..4747c6768c 100644
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -328,15 +328,10 @@ void qdev_reset_all(DeviceState *dev)
qdev_walk_children(dev, qdev_reset_one, qbus_reset_one, NULL);
}
-void qbus_reset_all(BusState *bus)
-{
- qbus_walk_children(bus, qdev_reset_one, qbus_reset_one, NULL);
-}
-
void qbus_reset_all_fn(void *opaque)
{
BusState *bus = opaque;
- qbus_reset_all(bus);
+ qbus_walk_children(bus, qdev_reset_one, qbus_reset_one, NULL);
}
/* can be used as ->unplug() callback for the simple cases */