iio: gyro: adis16130: Remove redundant break
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 11 Sep 2013 10:20:00 +0000 (11:20 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 14 Sep 2013 10:36:59 +0000 (11:36 +0100)
'break' after return is redundant. Remove it.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/gyro/adis16130.c

index ac66fc184042e4aa7e23545555321521a032df31..9155cf6cf287f078ce7947f12ec7812642406e75 100644 (file)
@@ -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;