linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/5] iio: gyro: adis16130: Remove redundant break
@ 2013-09-11 10:20 Sachin Kamat
  2013-09-11 10:20 ` [PATCH 2/5] iio: gyro: adis16260: " Sachin Kamat
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Sachin Kamat @ 2013-09-11 10:20 UTC (permalink / raw)
  To: linux-iio; +Cc: jic23, sachin.kamat

'break' after return is redundant. Remove it.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 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;
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-09-14  9:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 1/5] iio: gyro: adis16130: " Jonathan Cameron

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).