Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754343Ab1ELChw (ORCPT ); Wed, 11 May 2011 22:37:52 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:60083 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751157Ab1ELChu (ORCPT ); Wed, 11 May 2011 22:37:50 -0400 X-AuditID: cbfee61a-b7c84ae000006ee6-45-4dcb47fdec53 Date: Thu, 12 May 2011 11:37:48 +0900 From: MyungJoo Ham Subject: [PATCH] regulator: max8997: remove useless code To: linux-kernel@vger.kernel.org Cc: Liam Girdwood , Mark Brown , Jonghwan Choi , myungjoo.ham@gmail.com, MyungJoo Ham Message-id: <1305167868-9080-1-git-send-email-myungjoo.ham@samsung.com> X-Mailer: git-send-email 1.7.4.1 Content-transfer-encoding: 7BIT X-OriginalArrivalTime: 12 May 2011 02:37:49.0000 (UTC) FILETIME=[9548BC80:01CC104D] X-Brightmail-Tracker: AAAAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 885 Lines: 30 From: Jonghwan Choi fix unreachable code. Signed-off-by: Jonghwan Choi Signed-off-by: MyungJoo Ham --- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/