Received: from eggs.gnu.org ([208.118.235.92]:33776) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7EbR-0001oq-HI for qemu-devel@nongnu.org; Thu, 30 Aug 2012 19:56:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T7EbQ-0004Ki-MQ for qemu-devel@nongnu.org; Thu, 30 Aug 2012 19:56:49 -0400 Received: from mail-ie0-f173.google.com ([209.85.223.173]:32984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7EbQ-0004Jv-Hs for qemu-devel@nongnu.org; Thu, 30 Aug 2012 19:56:48 -0400 Received: by mail-ie0-f173.google.com with SMTP id c10so1182482ieb.4 for ; Thu, 30 Aug 2012 16:56:48 -0700 (PDT) From: Ronnie Sahlberg Date: Thu, 30 Aug 2012 16:56:36 -0700 Message-Id: <1346370996-7691-2-git-send-email-ronniesahlberg@gmail.com> In-Reply-To: <1346370996-7691-1-git-send-email-ronniesahlberg@gmail.com> References: <1346370996-7691-1-git-send-email-ronniesahlberg@gmail.com> Subject: [Qemu-devel] [PATCH] 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: 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; } -- 1.7.3.1