summaryrefslogtreecommitdiff
path: root/drivers/iio/gyro/adis16130.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/gyro/adis16130.c')
-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 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;