Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1322765 > unrolled thread

[PATCH] ARM: BCM63xx: Remove unused pmb_dn variable

Started byFlorian Fainelli <f.fainelli@gmail.com>
First post2016-02-01 01:40 +0100
Last post2016-02-02 19:50 +0100
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] ARM: BCM63xx: Remove unused pmb_dn variable Florian Fainelli <f.fainelli@gmail.com> - 2016-02-01 01:40 +0100
    Re: [PATCH] ARM: BCM63xx: Remove unused pmb_dn variable Florian Fainelli <f.fainelli@gmail.com> - 2016-02-02 19:50 +0100

#1322765 — [PATCH] ARM: BCM63xx: Remove unused pmb_dn variable

FromFlorian Fainelli <f.fainelli@gmail.com>
Date2016-02-01 01:40 +0100
Subject[PATCH] ARM: BCM63xx: Remove unused pmb_dn variable
Message-ID<qXaH8-2VJ-7@gated-at.bofh.it>
Introduced in commit 3f2a43c98d72b ("ARM: BCM63xx: Add secondary CPU PMB
initialization sequence"), but not used by the code.

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 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;
-- 
2.5.0

[toc] | [next] | [standalone]


#1324470

FromFlorian Fainelli <f.fainelli@gmail.com>
Date2016-02-02 19:50 +0100
Message-ID<qXObx-7av-43@gated-at.bofh.it>
In reply to#1322765
On 31/01/16 16:32, Florian Fainelli wrote:
> Introduced in commit 3f2a43c98d72b ("ARM: BCM63xx: Add secondary CPU PMB
> initialization sequence"), but not used by the code.
> 
> Reported-by: David Binderman <dcb314@hotmail.com>
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

Applied to soc/next.
-- 
Florian

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web