diff options
author | 2016-02-22 22:33:34 +0530 | |
---|---|---|
committer | 2016-03-11 22:09:09 -0800 | |
commit | 7e43d4d255588360d5cf7a2113babd9d9d34465e (patch) | |
tree | 702cf53a6b67604b6c1c112df3992f7f8643138b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: rdma: hfi1: Remove unnecessary kfree (diff) | |
download | wireguard-linux-7e43d4d255588360d5cf7a2113babd9d9d34465e.tar.xz wireguard-linux-7e43d4d255588360d5cf7a2113babd9d9d34465e.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions