projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9480e08
)
ARM: BCM63xx: Remove unused pmb_dn variable
author
Florian Fainelli
<f.fainelli@gmail.com>
Mon, 1 Feb 2016 00:32:48 +0000
(16:32 -0800)
committer
Florian Fainelli
<f.fainelli@gmail.com>
Tue, 2 Feb 2016 18:47:08 +0000
(10:47 -0800)
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
patch
|
blob
|
history
diff --git
a/arch/arm/mach-bcm/bcm63xx_pmb.c
b/arch/arm/mach-bcm/bcm63xx_pmb.c
index de061ec5a47964c99cba838bac515fba48b475eb..41dcf5d65630cfe96da9480e4e0496b19b27d9ae 100644
(file)
--- 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;