diff options
| author | 2017-02-17 22:47:21 +0530 | |
|---|---|---|
| committer | 2017-02-18 18:58:08 +0000 | |
| commit | fb364cea3d245fff5cb4c953c8c9a4b1efcbe4c6 (patch) | |
| tree | 94950bad1b0b6aec42fa17757054797596fe157c /tools/perf/scripts/python | |
| parent | staging: iio: adis16240_core: Replace symbolic permission with octal permission (diff) | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
