summaryrefslogtreecommitdiffstats
path: root/drivers/iio/gyro
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-11 11:20:00 +0100
committerJonathan Cameron <jic23@kernel.org>2013-09-14 11:36:59 +0100
commit3c533efca084527b4c91fbc43b963828c9410104 (patch)
tree8f41c55477aa13e445ed9b72cbf4994aadb35cdb /drivers/iio/gyro
parenta6dcb71b0d9d3ad68f63e8653aed07daa6265441 (diff)
downloadlinux-3c533efca084527b4c91fbc43b963828c9410104.tar.bz2
iio: gyro: adis16130: Remove redundant break
'break' after return is redundant. Remove it. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/gyro')
-rw-r--r--drivers/iio/gyro/adis16130.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iio/gyro/adis16130.c b/drivers/iio/gyro/adis16130.c
index ac66fc184042..9155cf6cf287 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;