diff options
author | 2016-09-21 23:47:55 +0530 | |
---|---|---|
committer | 2016-09-22 11:54:48 +0200 | |
commit | 7d359a847cf65cafa3582ee0c52f68e629fe0547 (patch) | |
tree | fbbdd369505a76a7eda84a3162aa01c0122d9497 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | staging: octeon-usb: Remove unnecessary assignment (diff) | |
download | linux-dev-7d359a847cf65cafa3582ee0c52f68e629fe0547.tar.xz linux-dev-7d359a847cf65cafa3582ee0c52f68e629fe0547.zip |
staging: ks7010: Remove unnecessary variable used to store return value
This patch removes an unnecessary variable used to store return values
in order to reduce memory usage.
Done using coccinelle:
@@
type T;
constant C;
identifier ret;
@@
- T ret = C;
... when != ret
return
- ret
+ C
;
Signed-off-by: sayli karnik <karniksayli1995@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