From patchwork Thu Aug 30 23:56:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: iSCSI: We dont need to explicitely call qemu_notify_event() any more Date: Thu, 30 Aug 2012 13:56:36 -0000 From: ronniesahlberg@gmail.com X-Patchwork-Id: 180884 Message-Id: <1346370996-7691-2-git-send-email-ronniesahlberg@gmail.com> To: pbonzini@redhat.com, qemu-devel@nongnu.org Cc: Ronnie Sahlberg 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 --- block/iscsi.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/block/iscsi.c b/block/iscsi.c index 0b96165..355ce65 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; }