From: Sachin Kamat Date: Wed, 11 Sep 2013 10:20:00 +0000 (+0100) Subject: iio: gyro: adis16130: Remove redundant break X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3c533efca084527b4c91fbc43b963828c9410104;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git iio: gyro: adis16130: Remove redundant break 'break' after return is redundant. Remove it. Signed-off-by: Sachin Kamat Signed-off-by: Jonathan Cameron --- 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;