diff options
Diffstat (limited to 'hw/core/qdev-clock.c')
| -rw-r--r-- | hw/core/qdev-clock.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/hw/core/qdev-clock.c b/hw/core/qdev-clock.c index 82799577f3..ca65685c04 100644 --- a/hw/core/qdev-clock.c +++ b/hw/core/qdev-clock.c @@ -87,11 +87,8 @@ void qdev_finalize_clocklist(DeviceState *dev) if (!ncl->output && !ncl->alias) { /* * We kept a reference on the input clock to ensure it lives up to - * this point so we can safely remove the callback. - * It avoids having a callback to a deleted object if ncl->clock - * is still referenced somewhere else (eg: by a clock output). + * this point; it is used by the monitor to show the frequency. */ - clock_clear_callback(ncl->clock); object_unref(OBJECT(ncl->clock)); } g_free(ncl->name); |