From: Jonghwan Choi Date: Thu, 12 May 2011 02:37:48 +0000 (+0900) Subject: regulator: max8997: remove useless code X-Git-Tag: v3.0-rc1~48^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=afdaaafe8e829364d9c1276b5435cc28ee5619df;p=profile%2Fcommon%2Fkernel-common.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 77e0cfb..b1c1444 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;