projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6dcb71
)
iio: gyro: adis16130: Remove redundant break
author
Sachin Kamat
<sachin.kamat@linaro.org>
Wed, 11 Sep 2013 10:20:00 +0000
(11:20 +0100)
committer
Jonathan 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
patch
|
blob
|
history
diff --git
a/drivers/iio/gyro/adis16130.c
b/drivers/iio/gyro/adis16130.c
index ac66fc184042e4aa7e23545555321521a032df31..9155cf6cf287f078ce7947f12ec7812642406e75 100644
(file)
--- 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;