* [PATCH] ARM: BCM63xx: Remove unused pmb_dn variable
@ 2016-02-01 0:32 Florian Fainelli
2016-02-02 18:46 ` Florian Fainelli
0 siblings, 1 reply; 2+ messages in thread
From: Florian Fainelli @ 2016-02-01 0:32 UTC (permalink / raw)
To: linux-arm-kernel
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: BCM63xx: Remove unused pmb_dn variable
2016-02-01 0:32 [PATCH] ARM: BCM63xx: Remove unused pmb_dn variable Florian Fainelli
@ 2016-02-02 18:46 ` Florian Fainelli
0 siblings, 0 replies; 2+ messages in thread
From: Florian Fainelli @ 2016-02-02 18:46 UTC (permalink / raw)
To: linux-arm-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-02 18:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-01 0:32 [PATCH] ARM: BCM63xx: Remove unused pmb_dn variable Florian Fainelli
2016-02-02 18:46 ` Florian Fainelli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).