mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
notifier: switch to QLIST
Notifiers do not need to access both ends of the list, and using a QLIST also simplifies the API. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
committed by
Anthony Liguori
parent
c77de088b1
commit
31552529a7
@@ -453,7 +453,7 @@ void qemu_register_clock_reset_notifier(QEMUClock *clock, Notifier *notifier)
|
||||
|
||||
void qemu_unregister_clock_reset_notifier(QEMUClock *clock, Notifier *notifier)
|
||||
{
|
||||
notifier_list_remove(&clock->reset_notifiers, notifier);
|
||||
notifier_remove(notifier);
|
||||
}
|
||||
|
||||
void init_clocks(void)
|
||||
|
||||
Reference in New Issue
Block a user