diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2010-12-20 15:17:10 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-12-21 14:06:38 +0200 |
commit | f530cce3152b55a535e9e87610110fefa4e9c853 (patch) | |
tree | 59501f8df18f5e89f516ff985c818f99f86e8a10 /hw/qdev.c | |
parent | 80376c3fc2c38fdd45354e4b0eb45031f35587ed (diff) |
qdev: remove an unused function
qbus_reset_all is unused, remove it
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/qdev.c')
-rw-r--r-- | hw/qdev.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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 */ |