Commit 3c533efc authored by Sachin Kamat's avatar Sachin Kamat Committed by Jonathan Cameron

iio: gyro: adis16130: Remove redundant break

'break' after return is redundant. Remove it.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent a6dcb71b
...@@ -103,7 +103,6 @@ static int adis16130_read_raw(struct iio_dev *indio_dev, ...@@ -103,7 +103,6 @@ static int adis16130_read_raw(struct iio_dev *indio_dev,
default: default:
return -EINVAL; return -EINVAL;
} }
break;
case IIO_CHAN_INFO_OFFSET: case IIO_CHAN_INFO_OFFSET:
switch (chan->type) { switch (chan->type) {
case IIO_ANGL_VEL: case IIO_ANGL_VEL:
...@@ -115,7 +114,6 @@ static int adis16130_read_raw(struct iio_dev *indio_dev, ...@@ -115,7 +114,6 @@ static int adis16130_read_raw(struct iio_dev *indio_dev,
default: default:
return -EINVAL; return -EINVAL;
} }
break;
} }
return -EINVAL; return -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment