diff options
| author | Paolo Bonzini | 2012-01-13 17:34:01 +0100 |
|---|---|---|
| committer | Anthony Liguori | 2012-02-17 15:33:32 +0100 |
| commit | 31552529a7eba5011dac74bab18a852860c45c9d (patch) | |
| tree | dda9b8146324b71445dd563530670e6b4da8c5e4 /input.c | |
| parent | Merge remote-tracking branch 'bonzini/nbd-for-anthony' into staging (diff) | |
| download | qemu-31552529a7eba5011dac74bab18a852860c45c9d.tar.gz qemu-31552529a7eba5011dac74bab18a852860c45c9d.tar.xz qemu-31552529a7eba5011dac74bab18a852860c45c9d.zip | |
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>
Diffstat (limited to 'input.c')
| -rw-r--r-- | input.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -268,5 +268,5 @@ void qemu_add_mouse_mode_change_notifier(Notifier *notify) void qemu_remove_mouse_mode_change_notifier(Notifier *notify) { - notifier_list_remove(&mouse_mode_notifiers, notify); + notifier_remove(notify); } |
