projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef4b485
)
iio:gyro:itg3200 - drop unreachable return ret. Highlighted by smatch
author
Jonathan Cameron
<jic23@kernel.org>
Fri, 3 Jan 2014 22:08:00 +0000
(22:08 +0000)
committer
Jonathan Cameron
<jic23@kernel.org>
Sun, 16 Mar 2014 18:00:35 +0000
(18:00 +0000)
CHECK drivers/iio/gyro/itg3200_core.c
drivers/iio/gyro/itg3200_core.c:114 itg3200_read_raw() info: ignoring unreachable code.
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Cc: Neil Brown <neilb@suse.de>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
drivers/iio/gyro/itg3200_core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/gyro/itg3200_core.c
b/drivers/iio/gyro/itg3200_core.c
index 4d3f3b92b361ef06ec57649f664205201b0cfc34..8295e318399f9874ccde4f4429a001141a4004be 100644
(file)
--- a/
drivers/iio/gyro/itg3200_core.c
+++ b/
drivers/iio/gyro/itg3200_core.c
@@
-110,8
+110,6
@@
static int itg3200_read_raw(struct iio_dev *indio_dev,
default:
return -EINVAL;
}
-
- return ret;
}
static ssize_t itg3200_read_frequency(struct device *dev,