diff options
| author | Shreeya Patel <[email protected]> | 2017-12-11 03:33:00 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-12-13 12:48:46 +0100 |
| commit | 5826e028de7f2db8d8deebf2102cd79086729200 (patch) | |
| tree | 3f4ca6f25c49623a9150d8fa91179853f6cfad4f /tools/perf/scripts | |
| parent | 705f385849b209605dadf0450effd96947fdb6c6 (diff) | |
Staging: rtl8723bs: Merge assignment with return
Merge the assignment and return statements to return the value
directly. Done using the following semantic patch by coccinelle.
@@
local idexpression ret;
expression e;
@@
-ret =
+return
e;
-return ret;
Also, remove the variable declaration and some braces
that became useless after the merge.
Signed-off-by: Shreeya Patel <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions