diff options
author | Gargi Sharma | 2017-02-17 18:17:21 +0100 |
---|---|---|
committer | Jonathan Cameron | 2017-02-18 19:58:08 +0100 |
commit | fb364cea3d245fff5cb4c953c8c9a4b1efcbe4c6 (patch) | |
tree | 94950bad1b0b6aec42fa17757054797596fe157c /firmware/ess/maestro3_assp_kernel.fw.ihex | |
parent | staging: iio: adis16240_core: Replace symbolic permission with octal permission (diff) | |
download | kernel-qcow2-linux-fb364cea3d245fff5cb4c953c8c9a4b1efcbe4c6.tar.gz kernel-qcow2-linux-fb364cea3d245fff5cb4c953c8c9a4b1efcbe4c6.tar.xz kernel-qcow2-linux-fb364cea3d245fff5cb4c953c8c9a4b1efcbe4c6.zip |
staging: iio: compress return logic
Simplify function returns by merging assignment and return.
Found with Coccinelle.
Semantic patch:
@@
local idexpression ret;
expression e;
@@
-ret =
+return
e;
-return ret;
Signed-off-by: Gargi Sharma <gs051095@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'firmware/ess/maestro3_assp_kernel.fw.ihex')
0 files changed, 0 insertions, 0 deletions