提交 6580566e 编写于 作者: F Florian Fainelli

ARM: BCM63xx: Remove unused pmb_dn variable

Introduced in commit 3f2a43c9 ("ARM: BCM63xx: Add secondary CPU PMB
initialization sequence"), but not used by the code.
Reported-by: NDavid Binderman <dcb314@hotmail.com>
Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
上级 9480e085
...@@ -92,7 +92,6 @@ static int bcm63xx_pmb_get_resources(struct device_node *dn, ...@@ -92,7 +92,6 @@ static int bcm63xx_pmb_get_resources(struct device_node *dn,
unsigned int *cpu, unsigned int *cpu,
unsigned int *addr) unsigned int *addr)
{ {
struct device_node *pmb_dn;
struct of_phandle_args args; struct of_phandle_args args;
int ret; int ret;
...@@ -109,7 +108,6 @@ static int bcm63xx_pmb_get_resources(struct device_node *dn, ...@@ -109,7 +108,6 @@ static int bcm63xx_pmb_get_resources(struct device_node *dn,
return ret; return ret;
} }
pmb_dn = args.np;
if (args.args_count != 2) { if (args.args_count != 2) {
pr_err("reset-controller does not conform to reset-cells\n"); pr_err("reset-controller does not conform to reset-cells\n");
return -EINVAL; return -EINVAL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册