aboutsummaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorTom Rix2020-10-19 11:59:37 -0700
committerSebastian Reichel2020-11-30 02:46:23 +0100
commitfaa2cec66798b17aea9c53756a1354e8a7ea54ef (patch)
tree35887bbf9e9b1babdd64587a5b844ad9aa24d5d4 /drivers/power
parent4e586fe990b199bdcb9d9f32071a13388cbae23b (diff)
power: supply: wm831x_power: remove unneeded break
A break is not needed if it is preceded by a goto. Signed-off-by: Tom Rix <trix@redhat.com> Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/wm831x_power.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/supply/wm831x_power.c b/drivers/power/supply/wm831x_power.c
index 18b33f14dfee..4cd2dd870039 100644
--- a/drivers/power/supply/wm831x_power.c
+++ b/drivers/power/supply/wm831x_power.c
@@ -668,7 +668,6 @@ static int wm831x_power_probe(struct platform_device *pdev)
fallthrough;
case -EPROBE_DEFER:
goto err_bat_irq;
- break;
}
return ret;