diff options
author | Tom Rix <trix@redhat.com> | 2023-05-17 15:33:10 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-09-13 13:33:58 +0300 |
commit | e04b1973e2ab1e58a79156317b0dc25f848efdc5 (patch) | |
tree | d97835cb6e8fe602922a9fd418770d864439f51f /mm/debug_vm_pgtable.c | |
parent | 2400dfe23fa91612c18c6c8d8a5b8164ff98836c (diff) | |
download | linux-e04b1973e2ab1e58a79156317b0dc25f848efdc5.tar.xz |
wifi: lib80211: remove unused variables iv32 and iv16
clang with W=1 reports
net/wireless/lib80211_crypt_tkip.c:667:7: error: variable 'iv32'
set but not used [-Werror,-Wunused-but-set-variable]
u32 iv32 = tkey->tx_iv32;
^
This variable not used so remove it.
Then remove a similar iv16 variable.
Change the comment because the unmodified value is returned.
Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230517123310.873023-1-trix@redhat.com
[change commit log wrt. 'length', add comment in the code]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'mm/debug_vm_pgtable.c')
0 files changed, 0 insertions, 0 deletions