]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mwifiex: Remove unused 'chan_num' variable
authorKirtika Ruchandani <kirtika.ruchandani@gmail.com>
Thu, 24 Nov 2016 01:24:54 +0000 (17:24 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 29 Nov 2016 15:27:47 +0000 (17:27 +0200)
commit8ac9134161d9d09ac5cc9df844e35156c54285cb
tree3869c35ef12352e3a80aa238a556b7f0dbcfe5c3
parent70d740598713cb6164e9b6b4ccd03ea3101377cd
mwifiex: Remove unused 'chan_num' variable

Commit b5413e6b2228 removed all uses of chan_num in mwifiex_config_scan().
Compiling mwifiex with W=1 gives the following warning, fix it.

mwifiex/scan.c: In function ‘mwifiex_config_scan’:
mwifiex/scan.c:830:6: warning: variable ‘chan_num’ set but not used [-Wunused-but-set-variable]

Fixes: b5413e6b2228 ("mwifiex: increase the number of nodes in command pool")
Cc: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kirtika Ruchandani <kirtika@google.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/scan.c