diff options
| author | Colin Ian King <colin.king@canonical.com> | 2018-07-11 08:12:12 +0100 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2018-07-31 10:18:16 +0300 |
| commit | 0e139e97f58e8f844fecd77461aaad128f43b734 (patch) | |
| tree | 211aa96024661b4fe2ee0a1005d30b6e2afb6c10 /tools/perf/scripts/python/stackcollapse.py | |
| parent | airo: remove unused variables len and dev and clean up formatting (diff) | |
| download | linux-0e139e97f58e8f844fecd77461aaad128f43b734.tar.gz linux-0e139e97f58e8f844fecd77461aaad128f43b734.zip | |
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 <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
