From: Jonathan Cameron <jic23@kernel.org>
To: linux-iio@vger.kernel.org
Cc: Neil Brown <neilb@suse.de>, Dan Carpenter <dan.carpenter@oracle.com>
Subject: Re: [PATCH] iio:gyro:itg3200 - drop unreachable return ret. Highlighted by smatch
Date: Sat, 15 Mar 2014 16:28:05 +0000 [thread overview]
Message-ID: <53247F95.7050706@kernel.org> (raw)
In-Reply-To: <1393711683-2287-1-git-send-email-jic23@kernel.org>
On 01/03/14 22:08, Jonathan Cameron wrote:
> CHECK drivers/iio/gyro/itg3200_core.c
> drivers/iio/gyro/itg3200_core.c:114 itg3200_read_raw() info: ignoring unreachable code.
>
> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
> Cc: Neil Brown <neilb@suse.de>
> Cc: Dan Carpenter <dan.carpenter@oracle.com>
Applied to the togreg branch of iio.git as clearly no one cares.
> ---
> drivers/iio/gyro/itg3200_core.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/iio/gyro/itg3200_core.c b/drivers/iio/gyro/itg3200_core.c
> index 4d3f3b9..8295e31 100644
> --- a/drivers/iio/gyro/itg3200_core.c
> +++ b/drivers/iio/gyro/itg3200_core.c
> @@ -110,8 +110,6 @@ static int itg3200_read_raw(struct iio_dev *indio_dev,
> default:
> return -EINVAL;
> }
> -
> - return ret;
> }
>
> static ssize_t itg3200_read_frequency(struct device *dev,
>
prev parent reply other threads:[~2014-03-15 16:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-01 22:08 [PATCH] iio:gyro:itg3200 - drop unreachable return ret. Highlighted by smatch Jonathan Cameron
2014-03-15 16:28 ` Jonathan Cameron [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=53247F95.7050706@kernel.org \
--to=jic23@kernel.org \
--cc=dan.carpenter@oracle.com \
--cc=linux-iio@vger.kernel.org \
--cc=neilb@suse.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.