diff options
| author | 2015-02-27 15:06:53 +0200 | |
|---|---|---|
| committer | 2015-03-01 16:28:06 -0800 | |
| commit | 107d22095d72a93b6063f2298a0abc0231a15497 (patch) | |
| tree | f20ad8b0b3ebd14dcfd71480098675edf7e1e35c /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | staging: lustre: llite: remove unused variable (diff) | |
staging: lustre: llite: remove unused variable
This patch removes a variable that was simply used to
store the return value of a function call before
returning it.
The issue was detected and resolved using the following
coccinelle script:
@@
identifier len,f;
@@
-int len;
... when != len
when strict
-len =
+return
f(...);
-return len;
Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
