From patchwork Thu Aug 30 23:56:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ronnie sahlberg X-Patchwork-Id: 180884 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 6125C2C0302 for ; Fri, 31 Aug 2012 09:57:03 +1000 (EST) Received: from localhost ([::1]:48588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7Ebd-0001x7-F9 for incoming@patchwork.ozlabs.org; Thu, 30 Aug 2012 19:57:01 -0400 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=LIkwKjuNiYDb7wJq16U1BVz2ufWKQjm1rux3ysSAxvw=; b=g/vb7k3Fo+G9wZ9j3STc6VjfV7TblQy3HTOOpt7e5MtqTveWecpYsBsN8k+UaiP4pX rWH6SjQAZk9Djn4+pKeXtwV6qw/tCSaXstkmtlVPBtgA/QXTKd5YmrgQgo2RmoPAVIuf am8sbw4vp+fIsr1ZZvzboFLZcFus8VCE0r5CSjrvRFleLRIuOGZIodEwGKxEssL22Nrn +ZkEL+DGRjSfzgbnI+LM2XkyMYRPmZSBXLNvIjeXhVwaHJwoiq2w0NfKf5KqSw8VFsTa 5bVP2/sZLlxW4pyD6qwP1+YWOA75IPqZaraXCsKRXAtW43qhgxldlCKV2gC54UQGk1V5 bK1Q== Received: by 10.42.54.3 with SMTP id p3mr6579510icg.41.1346371008146; Thu, 30 Aug 2012 16:56:48 -0700 (PDT) Received: from ronniesahlberg@gmail.com (c-71-202-165-15.hsd1.ca.comcast.net. [71.202.165.15]) by mx.google.com with ESMTPS id bo7sm4271960igb.2.2012.08.30.16.56.45 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 30 Aug 2012 16:56:47 -0700 (PDT) Received: by ronniesahlberg@gmail.com (sSMTP sendmail emulation); Thu, 30 Aug 2012 16:56:44 -0700 From: Ronnie Sahlberg To: pbonzini@redhat.com, qemu-devel@nongnu.org Date: Thu, 30 Aug 2012 16:56:36 -0700 Message-Id: <1346370996-7691-2-git-send-email-ronniesahlberg@gmail.com> X-Mailer: git-send-email 1.7.3.1 In-Reply-To: <1346370996-7691-1-git-send-email-ronniesahlberg@gmail.com> References: <1346370996-7691-1-git-send-email-ronniesahlberg@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.223.173 Cc: Ronnie Sahlberg Subject: [Qemu-devel] [PATCH] iSCSI: We dont need to explicitely call qemu_notify_event() any more X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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; }