diff options
author | Tom Rix <trix@redhat.com> | 2020-10-19 21:59:37 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2020-11-30 04:46:23 +0300 |
commit | faa2cec66798b17aea9c53756a1354e8a7ea54ef (patch) | |
tree | 35887bbf9e9b1babdd64587a5b844ad9aa24d5d4 /drivers/power | |
parent | 4e586fe990b199bdcb9d9f32071a13388cbae23b (diff) | |
download | linux-faa2cec66798b17aea9c53756a1354e8a7ea54ef.tar.xz |
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.c | 1 |
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; |