[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-id: <1305167868-9080-1-git-send-email-myungjoo.ham@samsung.com>
Date: Thu, 12 May 2011 11:37:48 +0900
From: MyungJoo Ham <myungjoo.ham@...sung.com>
To: linux-kernel@...r.kernel.org
Cc: Liam Girdwood <lrg@...mlogic.co.uk>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
Jonghwan Choi <jhbird.choi@...sung.com>,
myungjoo.ham@...il.com, MyungJoo Ham <myungjoo.ham@...sung.com>
Subject: [PATCH] regulator: max8997: remove useless code
From: Jonghwan Choi <jhbird.choi@...sung.com>
fix unreachable code.
Signed-off-by: Jonghwan Choi <jhbird.choi@...sung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@...sung.com>
---
drivers/regulator/max8997.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
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;
--
1.7.4.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists