diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2015-09-22 10:21:48 +0800 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-09-23 20:23:30 +0100 |
commit | ebe5c543cf8ed3010881a8d863e954b961013fea (patch) | |
tree | 379c5c225576d0cafe86fd9a64c61b02b6ea314b /kernel/notifier.c | |
parent | 36736cc66bcedcd25b65faff43e352491409971f (diff) | |
download | linux-ebe5c543cf8ed3010881a8d863e954b961013fea.tar.bz2 |
iio: apds9960: light: fix simple_return.cocci warnings
drivers/iio/light/apds9960.c:986:1-4: WARNING: end returns can be simpified
Simplify a trivial if-return sequence. Possibly combine with a
preceding function call.
Generated by: scripts/coccinelle/misc/simple_return.cocci
CC: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'kernel/notifier.c')
0 files changed, 0 insertions, 0 deletions