linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sachin Kamat <sachin.kamat@linaro.org>
To: linux-kernel@vger.kernel.org
Cc: cw00.choi@samsung.com, myungjoo.ham@samsung.com,
	sachin.kamat@linaro.org, dg77.kim@samsung.com
Subject: [PATCH 2/3] extcon: max8997: Remove unreachable code
Date: Tue, 29 Jan 2013 15:10:01 +0530	[thread overview]
Message-ID: <1359452402-15885-2-git-send-email-sachin.kamat@linaro.org> (raw)
In-Reply-To: <1359452402-15885-1-git-send-email-sachin.kamat@linaro.org>

'break' after 'return' is never executed and hence can be deleted.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/extcon/extcon-max8997.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c
index 7039541..d16090d 100644
--- a/drivers/extcon/extcon-max8997.c
+++ b/drivers/extcon/extcon-max8997.c
@@ -289,7 +289,6 @@ static int max8997_muic_handle_charger_type_detach(
 		break;
 	default:
 		return -EINVAL;
-		break;
 	}
 
 	return 0;
-- 
1.7.4.1


  reply	other threads:[~2013-01-29  9:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-29  9:40 [PATCH 1/3] extcon: max8997: Make max8997_extcon_cable static Sachin Kamat
2013-01-29  9:40 ` Sachin Kamat [this message]
2013-01-29  9:40 ` [PATCH 3/3] extcon: max77693: Make max77693_extcon_cable static Sachin Kamat
2013-02-04  1:11 ` [PATCH 1/3] extcon: max8997: Make max8997_extcon_cable static Chanwoo Choi

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=1359452402-15885-2-git-send-email-sachin.kamat@linaro.org \
    --to=sachin.kamat@linaro.org \
    --cc=cw00.choi@samsung.com \
    --cc=dg77.kim@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --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;
as well as URLs for NNTP newsgroup(s).