From: Jonathan Cameron <jic23@kernel.org>
To: Sachin Kamat <sachin.kamat@linaro.org>
Cc: linux-iio@vger.kernel.org
Subject: Re: [PATCH 1/5] iio: gyro: adis16130: Remove redundant break
Date: Sat, 14 Sep 2013 11:37:23 +0100 [thread overview]
Message-ID: <52343C63.7090508@kernel.org> (raw)
In-Reply-To: <1378894829-8173-1-git-send-email-sachin.kamat@linaro.org>
On 09/11/13 11:20, Sachin Kamat wrote:
> 'break' after return is redundant. Remove it.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Applied to the togreg branch of iio.git
> ---
> drivers/iio/gyro/adis16130.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/iio/gyro/adis16130.c b/drivers/iio/gyro/adis16130.c
> index ac66fc1..9155cf6 100644
> --- a/drivers/iio/gyro/adis16130.c
> +++ b/drivers/iio/gyro/adis16130.c
> @@ -103,7 +103,6 @@ static int adis16130_read_raw(struct iio_dev *indio_dev,
> default:
> return -EINVAL;
> }
> - break;
> case IIO_CHAN_INFO_OFFSET:
> switch (chan->type) {
> case IIO_ANGL_VEL:
> @@ -115,7 +114,6 @@ static int adis16130_read_raw(struct iio_dev *indio_dev,
> default:
> return -EINVAL;
> }
> - break;
> }
>
> return -EINVAL;
>
prev parent reply other threads:[~2013-09-14 9:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-11 10:20 [PATCH 1/5] iio: gyro: adis16130: Remove redundant break Sachin Kamat
2013-09-11 10:20 ` [PATCH 2/5] iio: gyro: adis16260: " Sachin Kamat
2013-09-14 10:37 ` Jonathan Cameron
2013-09-11 10:20 ` [PATCH 3/5] iio: gyro: adxrs450: " Sachin Kamat
2013-09-14 10:37 ` Jonathan Cameron
2013-09-11 10:20 ` [PATCH 4/5] iio: dac: ad5686: " Sachin Kamat
2013-09-14 10:37 ` Jonathan Cameron
2013-09-11 10:20 ` [PATCH 5/5] staging: iio: tsl2x7x_core: " Sachin Kamat
2013-09-14 10:37 ` Jonathan Cameron
2013-09-14 10:37 ` 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=52343C63.7090508@kernel.org \
--to=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=sachin.kamat@linaro.org \
/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.