Commit faa2cec6 authored by Tom Rix's avatar Tom Rix Committed by Sebastian Reichel

power: supply: wm831x_power: remove unneeded break

A break is not needed if it is preceded by a goto.
Signed-off-by: default avatarTom Rix <trix@redhat.com>
Acked-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 4e586fe9
...@@ -668,7 +668,6 @@ static int wm831x_power_probe(struct platform_device *pdev) ...@@ -668,7 +668,6 @@ static int wm831x_power_probe(struct platform_device *pdev)
fallthrough; fallthrough;
case -EPROBE_DEFER: case -EPROBE_DEFER:
goto err_bat_irq; goto err_bat_irq;
break;
} }
return ret; return ret;
......
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