diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2015-09-22 10:16:48 +0800 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-09-23 20:23:28 +0100 |
commit | 36736cc66bcedcd25b65faff43e352491409971f (patch) | |
tree | 9957d188fc1f7dabe96b4b3d5445e54a2913309e /mm/madvise.c | |
parent | 9214185b515ed550fe67c912ca446b4524f01603 (diff) | |
download | op-kernel-dev-36736cc66bcedcd25b65faff43e352491409971f.zip op-kernel-dev-36736cc66bcedcd25b65faff43e352491409971f.tar.gz |
iio: adc: vf610: fix simple_return.cocci warnings
drivers/iio/adc/vf610_adc.c:766:1-4: WARNING: end returns can be simpified and declaration on line 755 can be dropped
Simplify a trivial if-return sequence. Possibly combine with a
preceding function call.
Generated by: scripts/coccinelle/misc/simple_return.cocci
CC: Sanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'mm/madvise.c')
0 files changed, 0 insertions, 0 deletions