diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2018-01-24 19:11:47 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2018-01-24 19:20:19 +0200 |
commit | e044c0f8dd028ea296396ad8066ba436e9acf350 (patch) | |
tree | ae3dd5b9ce48276ff36f871777d77f55a3b57a35 /util/event_notifier-win32.c | |
parent | 1ef8185a0613dd2ed24f8d401f14da047d678589 (diff) |
Revert "qemu: add a cleanup callback function to EventNotifier"
This reverts commit f87d72f5c5bff0837d409a56bd34f439a90119ca as that is
part of a patchset reported to break cleanup and migration.
Cc: Gal Hammer <ghammer@redhat.com>
Cc: Sitong Liu <siliu@redhat.com>
Cc: Xiaoling Gao <xiagao@redhat.com>
Suggested-by: Greg Kurz <groug@kaod.org>
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Reported-by: Jose Ricardo Ziviani <joserz@linux.vnet.ibm.com>
Reported-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
Diffstat (limited to 'util/event_notifier-win32.c')
-rw-r--r-- | util/event_notifier-win32.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/util/event_notifier-win32.c b/util/event_notifier-win32.c index eff86701ad..62c53b0a99 100644 --- a/util/event_notifier-win32.c +++ b/util/event_notifier-win32.c @@ -19,7 +19,6 @@ int event_notifier_init(EventNotifier *e, int active) { e->event = CreateEvent(NULL, TRUE, FALSE, NULL); assert(e->event); - e->cleanup = NULL; return 0; } @@ -27,7 +26,6 @@ void event_notifier_cleanup(EventNotifier *e) { CloseHandle(e->event); e->event = NULL; - e->cleanup = NULL; } HANDLE event_notifier_get_handle(EventNotifier *e) |