From: Sachin Kamat Date: Fri, 4 Oct 2013 09:48:18 +0000 (+0530) Subject: regulator: gpio: Remove redundant break X-Git-Tag: next-20131017~40^2~13^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6653efb75dcac8fc61191cba9bd6dda99137bc44;p=karo-tx-linux.git regulator: gpio: Remove redundant break 'break' after goto has no effect. Remove it. Signed-off-by: Sachin Kamat Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/gpio-regulator.c b/drivers/regulator/gpio-regulator.c index 98a98ffa7fe0..04406a918c04 100644 --- a/drivers/regulator/gpio-regulator.c +++ b/drivers/regulator/gpio-regulator.c @@ -283,7 +283,6 @@ static int gpio_regulator_probe(struct platform_device *pdev) dev_err(&pdev->dev, "No regulator type set\n"); ret = -EINVAL; goto err_memgpio; - break; } drvdata->nr_gpios = config->nr_gpios;