forked from luck/tmp_suning_uos_patched
ARM: BCM63xx: Remove unused pmb_dn variable
Introduced in commit 3f2a43c98d
("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>
This commit is contained in:
parent
9480e085c3
commit
6580566e10
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user