From patchwork Sat Sep 1 10:56:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Weil X-Patchwork-Id: 181130 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 2CC622C0087 for ; Sat, 1 Sep 2012 20:56:15 +1000 (EST) Received: from localhost ([::1]:53447 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7lN7-0002oW-Ci for incoming@patchwork.ozlabs.org; Sat, 01 Sep 2012 06:56:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7lN0-0002oP-H7 for qemu-devel@nongnu.org; Sat, 01 Sep 2012 06:56:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T7lMz-0007Nv-Hm for qemu-devel@nongnu.org; Sat, 01 Sep 2012 06:56:06 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:38116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7lMz-0007Mz-Bd; Sat, 01 Sep 2012 06:56:05 -0400 Received: from localhost (v220110690675601.yourvserver.net.local [127.0.0.1]) by v220110690675601.yourvserver.net (Postfix) with ESMTP id C02ED7280021; Sat, 1 Sep 2012 12:56:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at weilnetz.de Received: from v220110690675601.yourvserver.net ([127.0.0.1]) by localhost (v220110690675601.yourvserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q8OdlVkVHy4c; Sat, 1 Sep 2012 12:56:03 +0200 (CEST) Received: by v220110690675601.yourvserver.net (Postfix, from userid 1000) id B0E04728002B; Sat, 1 Sep 2012 12:56:03 +0200 (CEST) From: Stefan Weil To: qemu-trivial@nongnu.org Date: Sat, 1 Sep 2012 12:56:03 +0200 Message-Id: <1346496963-27422-1-git-send-email-sw@weilnetz.de> X-Mailer: git-send-email 1.7.10 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 78.47.199.172 Cc: Stefan Weil , qemu-devel@nongnu.org Subject: [Qemu-devel] [PATCH] ioh3420: Remove unreachable code 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 Report from smatch: hw/ioh3420.c:128 ioh3420_initfn(35) info: ignoring unreachable code. Signed-off-by: Stefan Weil Reviewed-by: Juan Quintela --- hw/ioh3420.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/ioh3420.c b/hw/ioh3420.c index 94a537c..4d31473 100644 --- a/hw/ioh3420.c +++ b/hw/ioh3420.c @@ -125,7 +125,6 @@ static int ioh3420_initfn(PCIDevice *d) rc = pcie_chassis_add_slot(s); if (rc < 0) { goto err_pcie_cap; - return rc; } pcie_cap_root_init(d); rc = pcie_aer_init(d, IOH_EP_AER_OFFSET);