summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rayctl.h
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-07-11 08:12:12 +0100
committerKalle Valo <kvalo@codeaurora.org>2018-07-31 10:18:16 +0300
commit0e139e97f58e8f844fecd77461aaad128f43b734 (patch)
tree211aa96024661b4fe2ee0a1005d30b6e2afb6c10 /drivers/net/wireless/rayctl.h
parentd01a4e04dab7fa1002722e5d09cfd9c037767348 (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 <colin.king@canonical.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/rayctl.h')
0 files changed, 0 insertions, 0 deletions