diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2016-01-31 16:32:48 -0800 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2016-02-02 10:47:08 -0800 |
commit | 6580566e10016c1ec00aa5e0e62af3c4b3498019 (patch) | |
tree | 962e68f4e05fc42b91a95dbaf88554d854da2391 /arch/arm/mach-bcm | |
parent | 9480e085c3737e0638112fcce5cfeedb7909348c (diff) | |
download | linux-6580566e10016c1ec00aa5e0e62af3c4b3498019.tar.gz linux-6580566e10016c1ec00aa5e0e62af3c4b3498019.tar.bz2 linux-6580566e10016c1ec00aa5e0e62af3c4b3498019.zip |
ARM: BCM63xx: Remove unused pmb_dn variable
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>
Diffstat (limited to 'arch/arm/mach-bcm')
-rw-r--r-- | arch/arm/mach-bcm/bcm63xx_pmb.c | 2 |
1 files changed, 0 insertions, 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; |