summaryrefslogtreecommitdiff
path: root/block/iscsi.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2012-08-30 16:56:36 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2012-09-21 16:12:33 +0200
commit40a13ca8d28c21062e35b10d9b80e76b92405bdf (patch)
tree330fcc9fb5aa78245c6ed2a282babfc78d5c8f71 /block/iscsi.c
parentf1a12821d7df2e4d21be4f2206f84b4640533e53 (diff)
downloadqemu-40a13ca8d28c21062e35b10d9b80e76b92405bdf.tar.gz
iSCSI: We dont need to explicitely call qemu_notify_event() any more
We no longer need to explicitely call qemu_notify_event() any more since this is now done automatically any time the filehandles we listen to change. Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block/iscsi.c')
-rw-r--r--block/iscsi.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/block/iscsi.c b/block/iscsi.c
index ea1660948d..fb001b955c 100644
--- a/block/iscsi.c
+++ b/block/iscsi.c
@@ -167,12 +167,6 @@ iscsi_set_events(IscsiLun *iscsilun)
}
- /* If we just added an event, the callback might be delayed
- * unless we call qemu_notify_event().
- */
- if (ev & ~iscsilun->events) {
- qemu_notify_event();
- }
iscsilun->events = ev;
}