diff options
author | Bhaktipriya Shridhar <bhaktipriya96@gmail.com> | 2016-02-22 22:33:34 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-11 22:09:09 -0800 |
commit | 7e43d4d255588360d5cf7a2113babd9d9d34465e (patch) | |
tree | 702cf53a6b67604b6c1c112df3992f7f8643138b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | d34491679d7c583a1d3bddfc1d8a7b2f72dd2ad7 (diff) |
staging: rdma: hfi1: Compress return logic
Simplified function return by merging assignment and return into
one line.
Found with Coccinelle.
@@
expression e;
local idexpression ret;
@@
- ret =
+ return
e;
- return ret;
@@ type T; identifier x; @@
- T x;
... when != x
Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
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