diff options
author | Kirtika Ruchandani <kirtika.ruchandani@gmail.com> | 2016-11-23 17:27:10 -0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-11-29 17:27:50 +0200 |
commit | 4133828c76c3f358f05818ddfec1506274159256 (patch) | |
tree | 6aaef99ec63177df479e97eab12d46d412497417 | |
parent | 67dd2a754906863b221b855677edd020820dd1fc (diff) |
mwifiex: Remove unused 'bcd_usb' variable
mwifiex_usb_probe() defines and sets bcd_usb but does not use it,
Compiling with W=1 gives the following warning, fix it.
mwifiex/usb.c: In function ‘mwifiex_usb_probe’:
mwifiex/usb.c:383:41: warning: variable ‘bcd_usb’ set but not used [-Wunused-but-set-variable]
The unused variable seems to be present since 4daffe354366 which introduced
mwifiex_usb_probe().
Fixes: 4daffe354366 ("mwifiex: add support for Marvell USB8797 chipset")
Cc: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kirtika Ruchandani <kirtika@google.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>