public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regulator: max8997: remove useless code
@ 2011-05-12  2:37 MyungJoo Ham
  2011-05-12  6:29 ` Mark Brown
  2011-05-13 12:34 ` Liam Girdwood
  0 siblings, 2 replies; 3+ messages in thread
From: MyungJoo Ham @ 2011-05-12  2:37 UTC (permalink / raw)
  To: linux-kernel
  Cc: Liam Girdwood, Mark Brown, Jonghwan Choi, myungjoo.ham,
	MyungJoo Ham

From: Jonghwan Choi <jhbird.choi@samsung.com>

fix unreachable code.

Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-13 12:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-12  2:37 [PATCH] regulator: max8997: remove useless code MyungJoo Ham
2011-05-12  6:29 ` Mark Brown
2011-05-13 12:34 ` Liam Girdwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox