From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF4bd-0005bT-Lh for qemu-devel@nongnu.org; Fri, 21 Sep 2012 10:53:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TF4bX-0008WG-V6 for qemu-devel@nongnu.org; Fri, 21 Sep 2012 10:53:25 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:56278) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF4bX-0008Uh-Oy for qemu-devel@nongnu.org; Fri, 21 Sep 2012 10:53:19 -0400 Received: by mail-pb0-f45.google.com with SMTP id rp12so7853400pbb.4 for ; Fri, 21 Sep 2012 07:53:19 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Fri, 21 Sep 2012 16:52:44 +0200 Message-Id: <1348239169-25040-3-git-send-email-pbonzini@redhat.com> In-Reply-To: <1348239169-25040-1-git-send-email-pbonzini@redhat.com> References: <1348239169-25040-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 2/7] iSCSI: We dont need to explicitely call qemu_notify_event() any more List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, Ronnie Sahlberg From: 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 Signed-off-by: Paolo Bonzini --- block/iscsi.c | 6 ------ 1 file modificato, 6 rimozioni(-) diff --git a/block/iscsi.c b/block/iscsi.c index ea16609..fb001b9 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; } -- 1.7.12