public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Liam Girdwood <lrg@slimlogic.co.uk>
To: MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: linux-kernel@vger.kernel.org,
	Mark Brown <broonie@opensource.wolfsonmicro.com>,
	Jonghwan Choi <jhbird.choi@samsung.com>,
	myungjoo.ham@gmail.com
Subject: Re: [PATCH] regulator: max8997: remove useless code
Date: Fri, 13 May 2011 13:34:43 +0100	[thread overview]
Message-ID: <1305290083.3202.5.camel@odin> (raw)
In-Reply-To: <1305167868-9080-1-git-send-email-myungjoo.ham@samsung.com>

On Thu, 2011-05-12 at 11:37 +0900, MyungJoo Ham wrote:
> 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;


Applied.

Liam


      parent reply	other threads:[~2011-05-13 12:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1305290083.3202.5.camel@odin \
    --to=lrg@slimlogic.co.uk \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=jhbird.choi@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=myungjoo.ham@gmail.com \
    --cc=myungjoo.ham@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox