diff options
| author | 2016-02-10 10:57:31 -0800 | |
|---|---|---|
| committer | 2016-02-11 20:00:30 -0800 | |
| commit | 5a41b934766a00764669922f1faac1fbdcc179bd (patch) | |
| tree | 9a117f3dfdb9ed8bde39bba3258ccdf9c17aafc4 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | staging: speakup: Eliminate commented out code (diff) | |
staging: speakup: compress return logic into one line
Simplify function return by merging assignment and return into
one command line. Remove (now) unused local variable.
Found using Coccinelle:
@@
expression e, ret;
@@
-ret =
+return
e;
-return ret;
Signed-off-by: Alison Schofield <amsfield22@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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
