From patchwork Sun Sep 23 10:00:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 186198 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 68AAB2C008D for ; Sun, 23 Sep 2012 20:41:04 +1000 (EST) Received: from localhost ([::1]:47031 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFj0A-0005nV-Lo for incoming@patchwork.ozlabs.org; Sun, 23 Sep 2012 06:01:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFizP-00041y-Mo for qemu-devel@nongnu.org; Sun, 23 Sep 2012 06:00:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFizO-0007dH-CM for qemu-devel@nongnu.org; Sun, 23 Sep 2012 06:00:39 -0400 Received: from mail-we0-f173.google.com ([74.125.82.173]:56749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFizO-0007Xh-5h for qemu-devel@nongnu.org; Sun, 23 Sep 2012 06:00:38 -0400 Received: by mail-we0-f173.google.com with SMTP id t11so2574474wey.4 for ; Sun, 23 Sep 2012 03:00:37 -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=WUncrydAl2KfrZcYJA5dI21+SMf8rCiBeKP3kJYSYYk=; b=EIVENk3rqgqVFBm04Ge+qfHmsPsU0SgLsXyTIcgZ6DpADRHIkj+fGcl7urQD8nBt7p EhNY0E1mkmhQht2VmwTAb4JVuhZ4KxRRCUoOp0shlCn4tkjYL5FvHImYD/zl2SJEr4hO yBhMp2HWGd8nbNc0RNixVv9Pv7YSscO7bmZUThPCVjrSv02xaGbUoISMT+F9ayARZRG2 WyNEl3YA79PlNwp/knk8rSzVDWAawjiKb1o4ngZGPR5zCFYg/vnp1TlpFdARvqZMaoEr qt86IDganpeRhwoqm3knraS2EybDA/nInSGoS8yr8EBHCv7tKo2v1kLihS49UCDiUiFI 75Zw== Received: by 10.180.98.200 with SMTP id ek8mr7657215wib.0.1348394437735; Sun, 23 Sep 2012 03:00:37 -0700 (PDT) Received: from localhost ([109.224.133.37]) by mx.google.com with ESMTPS id cu1sm8300180wib.6.2012.09.23.03.00.36 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 23 Sep 2012 03:00:37 -0700 (PDT) From: Stefan Hajnoczi To: Anthony Liguori Date: Sun, 23 Sep 2012 11:00:12 +0100 Message-Id: <1348394420-28298-7-git-send-email-stefanha@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1348394420-28298-1-git-send-email-stefanha@gmail.com> References: <1348394420-28298-1-git-send-email-stefanha@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.173 Cc: Stefan Weil , qemu-devel@nongnu.org, Stefan Hajnoczi Subject: [Qemu-devel] [PATCH 06/14] 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 From: Stefan Weil Report from smatch: hw/ioh3420.c:128 ioh3420_initfn(35) info: ignoring unreachable code. Signed-off-by: Stefan Weil Reviewed-by: Juan Quintela Signed-off-by: Stefan Hajnoczi --- 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);