Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759174Ab1EMMeu (ORCPT ); Fri, 13 May 2011 08:34:50 -0400 Received: from mail-ww0-f42.google.com ([74.125.82.42]:50959 "EHLO mail-ww0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759129Ab1EMMes (ORCPT ); Fri, 13 May 2011 08:34:48 -0400 Subject: Re: [PATCH] regulator: max8997: remove useless code From: Liam Girdwood To: MyungJoo Ham Cc: linux-kernel@vger.kernel.org, Mark Brown , Jonghwan Choi , myungjoo.ham@gmail.com In-Reply-To: <1305167868-9080-1-git-send-email-myungjoo.ham@samsung.com> References: <1305167868-9080-1-git-send-email-myungjoo.ham@samsung.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 13 May 2011 13:34:43 +0100 Message-ID: <1305290083.3202.5.camel@odin> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 989 Lines: 34 On Thu, 2011-05-12 at 11:37 +0900, MyungJoo Ham wrote: > 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; Applied. Liam -- 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/