diff options
| author | Colin Ian King <[email protected]> | 2018-07-11 08:12:12 +0100 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2018-07-31 10:18:16 +0300 |
| commit | 0e139e97f58e8f844fecd77461aaad128f43b734 (patch) | |
| tree | 211aa96024661b4fe2ee0a1005d30b6e2afb6c10 /tools/perf/scripts/python/stackcollapse.py | |
| parent | d01a4e04dab7fa1002722e5d09cfd9c037767348 (diff) | |
ipw2x00: remove redundant variables len, ret, reason and crypt
Variables len, ret, reason and crypt are assigned values that
are never read, hence they are redundant and can be removed.
Note: For the variable ret, a return code is being assigned, but
this is not returned and 0 is currently being returned, I believe
this is OK.
Cleans up clang warnings:
warning: variable 'len' set but not used [-Wunused-but-set-variable]
variable 'ret' set but not used [-Wunused-but-set-variable]
warning: variable 'reason' set but not used [-Wunused-but-set-variable]
warning: variable 'crypt' set but not used [-Wunused-but-set-variable]
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions