[PATCH] power: remove unneeded break

From: trix
Date: Mon Oct 19 2020 - 14:59:49 EST


From: Tom Rix <trix@xxxxxxxxxx>

A break is not needed if it is preceded by a goto

Signed-off-by: Tom Rix <trix@xxxxxxxxxx>
---
drivers/power/supply/wm831x_power.c | 1 -
1 file changed, 1 deletion(-)

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;
--
2.18.1