diff options
| author | Srishti Sharma <srishtishar@gmail.com> | 2017-09-09 13:18:51 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-17 16:35:26 +0200 |
| commit | 63fcb0ce01ce43ba41474b483a090a4a4c6fc11b (patch) | |
| tree | 69044efbb8b1dd466f10393c9ec6192ed044b318 /tools/perf/scripts/python | |
| parent | 9ba7bdc9d97e99f0b21442fd7a1eee320de83b9b (diff) | |
| download | linux-63fcb0ce01ce43ba41474b483a090a4a4c6fc11b.tar.gz linux-63fcb0ce01ce43ba41474b483a090a4a4c6fc11b.zip | |
Staging: ccree: Merge assignment with return
Merge the assignment and the return statements to return the value
directly. Done using coccinelle.
@@
local idexpression ret;
expression e;
@@
-ret =
+return
e;
-return ret;
Signed-off-by: Srishti Sharma <srishtishar@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
