Commit a4667439 authored by Dario Binacchi's avatar Dario Binacchi Committed by Florian Fainelli

ARM: BCM63xx: remove useless goto statement

Between the 'goto out' statement and the 'out' label there are no other
statements, so it is useless to check the return value of the
bcm63xx_pmb_power_on_cpu() function. Then, let's remove the statements
that are unnecessarily executed.
Signed-off-by: default avatarDario Binacchi <dario.binacchi@amarulasolutions.com>
Link: https://lore.kernel.org/r/20221206170913.3316205-1-dario.binacchi@amarulasolutions.comSigned-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent 1b929c02
...@@ -142,8 +142,7 @@ static int bcm63138_smp_boot_secondary(unsigned int cpu, ...@@ -142,8 +142,7 @@ static int bcm63138_smp_boot_secondary(unsigned int cpu,
*/ */
ret = bcm63xx_pmb_power_on_cpu(dn); ret = bcm63xx_pmb_power_on_cpu(dn);
of_node_put(dn); of_node_put(dn);
if (ret)
goto out;
out: out:
iounmap(bootlut_base); iounmap(bootlut_base);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment