From patchwork Mon Feb 1 00:32:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 8175031 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C73D3BEEE5 for ; Mon, 1 Feb 2016 00:36:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B55EB20222 for ; Mon, 1 Feb 2016 00:36:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DCC44200F0 for ; Mon, 1 Feb 2016 00:36:05 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aQ2Qi-0007u8-A5; Mon, 01 Feb 2016 00:33:20 +0000 Received: from mail-ob0-x22e.google.com ([2607:f8b0:4003:c01::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aQ2Qe-0007sl-1Q for linux-arm-kernel@lists.infradead.org; Mon, 01 Feb 2016 00:33:16 +0000 Received: by mail-ob0-x22e.google.com with SMTP id is5so105945090obc.0 for ; Sun, 31 Jan 2016 16:32:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=CtLL87+pe6c56PAAJfvJp2AlmF7pOVooyC/+Se2rWEU=; b=aXrdcnU8THm/kVq//6W/vr49ERkDgbyb4K2pk1FN75kmp/09bI0nTBuM2h2kFt1CfP 1nY2pUdfR/AvpRQq8wzDWQYIkT7yD74f676MgXS4l4/oRk1Zc/xMCADcVAQmoiMtJdWu A8HFphOTQmHm2OOZySZlLwVFXUW50dfOYel1XBR/U5AFf5YKkOTHh7d6M7yeVjBRVQQR 56kwkPLk3ZujKPRJSZzHH/yDUAefZZrb1875D8ppKWBDMFTgI3vozcek0VDD136CnNff DyGlSjX0Hwji5A3hhAwhCX7uLKGYFBB5S/Ae6Bmj1ay76xFX8jM2SRs8czM2rFcpi+6e iAQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=CtLL87+pe6c56PAAJfvJp2AlmF7pOVooyC/+Se2rWEU=; b=YyJ+eXPOVoAFe4WaFK0+Ybrdl6Uw+zIdclajpORONgCB1OJ4a8W6HeMUOmZ0LJ3eqy GZTrUWe08z9gYefjsZnSr6UJmhtkDe58OKXqwoa4OaVTj4IvK61TFKg7QpCxos7pb+r+ SzgDjR7dyXbsaY9JseFiCXL2yxXt8NXzNhnswvi1OH3DP4LZw86YHBw002ltyYFaeHAB tu84sjk7NNydtFVf4NJXutVM+XqkSDgpOqvpYIbw2e/rKBTuOgk2GuieP4/ZE/3F5npF 0CQPRGPeCYazREacSMRVL1cCwczomhMbfAM6RZmqscrPV+l9bC3RuOycwUaK6bxt4gjZ LGhA== X-Gm-Message-State: AG10YOT+W5GTfyES3MleHpjd18FL5XjxDXlf1cyHE1IFZdQPLXZ5axcFGQET0F/yXJF4fg== X-Received: by 10.182.153.166 with SMTP id vh6mr14425356obb.76.1454286774963; Sun, 31 Jan 2016 16:32:54 -0800 (PST) Received: from bender.lan (ip68-5-39-32.oc.oc.cox.net. [68.5.39.32]) by smtp.gmail.com with ESMTPSA id mj1sm13777630oeb.17.2016.01.31.16.32.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 31 Jan 2016 16:32:54 -0800 (PST) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: BCM63xx: Remove unused pmb_dn variable Date: Sun, 31 Jan 2016 16:32:48 -0800 Message-Id: <1454286768-20736-1-git-send-email-f.fainelli@gmail.com> X-Mailer: git-send-email 2.5.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160131_163316_155550_8CDB104E X-CRM114-Status: GOOD ( 11.58 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Florian Fainelli , Russell King , Scott Branden , Ray Jui , open list , "open list:BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITE..." , David Binderman MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Introduced in commit 3f2a43c98d72b ("ARM: BCM63xx: Add secondary CPU PMB initialization sequence"), but not used by the code. Reported-by: David Binderman Signed-off-by: Florian Fainelli --- arch/arm/mach-bcm/bcm63xx_pmb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/mach-bcm/bcm63xx_pmb.c b/arch/arm/mach-bcm/bcm63xx_pmb.c index de061ec5a479..41dcf5d65630 100644 --- a/arch/arm/mach-bcm/bcm63xx_pmb.c +++ b/arch/arm/mach-bcm/bcm63xx_pmb.c @@ -92,7 +92,6 @@ static int bcm63xx_pmb_get_resources(struct device_node *dn, unsigned int *cpu, unsigned int *addr) { - struct device_node *pmb_dn; struct of_phandle_args args; int ret; @@ -109,7 +108,6 @@ static int bcm63xx_pmb_get_resources(struct device_node *dn, return ret; } - pmb_dn = args.np; if (args.args_count != 2) { pr_err("reset-controller does not conform to reset-cells\n"); return -EINVAL;