diff options
| author | sayli karnik <[email protected]> | 2016-09-19 01:46:34 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-09-20 13:56:17 +0200 |
| commit | 0525a57b1879370fe0e330708bda3b1c25c937f1 (patch) | |
| tree | bbbaa9b6f2be659bea957ad97030fe797351b2a9 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 197cc86e8e0de1f9f4d2a738e73b9acf34bdc347 (diff) | |
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 <[email protected]>
Acked-by: Julia Lawall <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions