From: Jonghwan Choi Date: Thu, 12 May 2011 02:37:48 +0000 (+0900) Subject: regulator: max8997: remove useless code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=afdaaafe8e829364d9c1276b5435cc28ee5619df;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git regulator: max8997: remove useless code fix unreachable code. Signed-off-by: Jonghwan Choi Signed-off-by: MyungJoo Ham Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- diff --git a/drivers/regulator/max8997.c b/drivers/regulator/max8997.c index 77e0cfb30b23..b1c1444864b3 100644 --- a/drivers/regulator/max8997.c +++ b/drivers/regulator/max8997.c @@ -267,7 +267,6 @@ static int max8997_get_enable_register(struct regulator_dev *rdev, default: /* Not controllable or not exists */ return -EINVAL; - break; } return 0;