From afdaaafe8e829364d9c1276b5435cc28ee5619df Mon Sep 17 00:00:00 2001 From: Jonghwan Choi Date: Thu, 12 May 2011 11:37:48 +0900 Subject: [PATCH] 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 --- drivers/regulator/max8997.c | 1 - 1 file changed, 1 deletion(-) 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; -- 2.30.2