diff options
| author | Varsha Rao <[email protected]> | 2017-03-12 21:47:04 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-03-14 08:00:37 +0800 |
| commit | d64fe06e1e4617865d7890b293990c100c72f086 (patch) | |
| tree | 6f82ed075a1625450c25016b7d77bc759feb639f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 87bb40171cf75e46076dfd18b5801021eb4873f2 (diff) | |
staging: media: atomisp: Compress return logic into one line.
Simplify function return by merging assignment and return into a single
line. The following coccinelle script is used to fix this issue.
@@
expression e;
local idexpression ret;
@@
-ret = e;
-return ret;
+return e;
This patch also removes unnecessary declarations.
Signed-off-by: Varsha Rao <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions