From: Ronnie Sahlberg Date: Thu, 30 Aug 2012 23:56:36 +0000 (-0700) Subject: iSCSI: We dont need to explicitely call qemu_notify_event() any more X-Git-Tag: v1.3.0-rc0~439^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=40a13ca8d28c21062e35b10d9b80e76b92405bdf;p=thirdparty%2Fqemu.git 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 Signed-off-by: Paolo Bonzini --- diff --git a/block/iscsi.c b/block/iscsi.c index ea1660948d6..fb001b955c5 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; }