diff options
| author | sayli karnik <karniksayli1995@gmail.com> | 2016-09-19 01:46:34 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-20 13:56:17 +0200 |
| commit | 0525a57b1879370fe0e330708bda3b1c25c937f1 (patch) | |
| tree | bbbaa9b6f2be659bea957ad97030fe797351b2a9 /tools/perf/scripts/python | |
| parent | staging: ks7010: fixes typo in ks_hostif.c (diff) | |
| download | linux-0525a57b1879370fe0e330708bda3b1c25c937f1.tar.gz linux-0525a57b1879370fe0e330708bda3b1c25c937f1.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>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
