diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2012-08-30 16:56:36 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-09-21 16:12:33 +0200 |
commit | 40a13ca8d28c21062e35b10d9b80e76b92405bdf (patch) | |
tree | 330fcc9fb5aa78245c6ed2a282babfc78d5c8f71 /block/iscsi.c | |
parent | f1a12821d7df2e4d21be4f2206f84b4640533e53 (diff) |
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.c | 6 |
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; } |