From: Samuel Ortiz <sameo@linux.intel.com>
To: Jesper Juhl <jj@chaosbits.net>
Cc: linux-kernel@vger.kernel.org, MyungJoo Ham <myungjoo.ham@samsung.com>
Subject: Re: [PATCH] mfd: remove dead code from drivers/mfd/max8997-irq.c:get_i2c()
Date: Mon, 4 Jul 2011 19:34:44 +0200 [thread overview]
Message-ID: <20110704173444.GS3021@sortiz-mobl> (raw)
In-Reply-To: <alpine.LNX.2.00.1107022235380.16316@swampdragon.chaosbits.net>
Hi Jesper,
On Sat, Jul 02, 2011 at 10:38:11PM +0200, Jesper Juhl wrote:
> We either hit one of the case's or the default in the switch statement
> in get_i2c(), so the 'return ERR_PTR(-EINVAL);' at the end of the
> function is just dead code - remove it.
Thanks, patch applied.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
next prev parent reply other threads:[~2011-07-04 17:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-02 20:38 [PATCH] mfd: remove dead code from drivers/mfd/max8997-irq.c:get_i2c() Jesper Juhl
2011-07-04 17:34 ` Samuel Ortiz [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-07-04 1:16 MyungJoo Ham
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=20110704173444.GS3021@sortiz-mobl \
--to=sameo@linux.intel.com \
--cc=jj@chaosbits.net \
--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