From 31552529a7eba5011dac74bab18a852860c45c9d Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Fri, 13 Jan 2012 17:34:01 +0100 Subject: 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 Signed-off-by: Anthony Liguori --- qemu-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qemu-timer.c') diff --git a/qemu-timer.c b/qemu-timer.c index a22f27e9f8..d7f56e55f9 100644 --- a/qemu-timer.c +++ b/qemu-timer.c @@ -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) -- cgit v1.2.3