From patchwork Wed Oct 27 10:21:18 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Isaku Yamahata X-Patchwork-Id: 69336 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 02C07B6EDF for ; Wed, 27 Oct 2010 21:56:58 +1100 (EST) Received: from localhost ([127.0.0.1]:55298 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PB3gc-0002NU-Jm for incoming@patchwork.ozlabs.org; Wed, 27 Oct 2010 06:56:54 -0400 Received: from [140.186.70.92] (port=35898 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PB3Q2-0002bG-RO for qemu-devel@nongnu.org; Wed, 27 Oct 2010 06:39:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PB38H-0006DE-IA for qemu-devel@nongnu.org; Wed, 27 Oct 2010 06:22:52 -0400 Received: from mail.valinux.co.jp ([210.128.90.3]:33483) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PB38H-0006CX-7J for qemu-devel@nongnu.org; Wed, 27 Oct 2010 06:21:25 -0400 Received: from ps.local.valinux.co.jp (vagw.valinux.co.jp [210.128.90.14]) by mail.valinux.co.jp (Postfix) with SMTP id 1C195873BC; Wed, 27 Oct 2010 19:21:22 +0900 (JST) Received: (nullmailer pid 27270 invoked by uid 1000); Wed, 27 Oct 2010 10:21:21 -0000 From: Isaku Yamahata To: qemu-devel@nongnu.org Date: Wed, 27 Oct 2010 19:21:18 +0900 Message-Id: X-Mailer: git-send-email 1.7.1.1 In-Reply-To: References: In-Reply-To: References: X-Virus-Scanned: clamav-milter 0.95.2 at va-mail.local.valinux.co.jp X-Virus-Status: Clean X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: skandasa@cisco.com, adnan@khaleel.us, wexu2@cisco.com, mst@redhat.com, yamahata@valinux.co.jp, etmartin@cisco.com Subject: [Qemu-devel] [PATCH 3/6] pcie/slot: clean up of hotplug_event_notify(). X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org remove redundant return and blank line from hotplug_event_notify(). Signed-off-by: Isaku Yamahata --- hw/pcie.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/hw/pcie.c b/hw/pcie.c index 3c52849..37d7457 100644 --- a/hw/pcie.c +++ b/hw/pcie.c @@ -164,9 +164,7 @@ static void hotplug_event_notify(PCIDevice *dev) qemu_set_irq(dev->irq[dev->exp.hpev_intx], dev->exp.hpev_notified); } else if (dev->exp.hpev_notified) { pci_msi_notify(dev, pcie_cap_flags_get_vector(dev)); - return; } - } /*