diff options
author | Kirtika Ruchandani <kirtika.ruchandani@gmail.com> | 2016-11-23 17:25:50 -0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-11-29 17:27:49 +0200 |
commit | 60261b266a84efe035aaf4d0a49d826ceb8fb1ab (patch) | |
tree | b20ce3dc8d317c5b082003ef60791c37c9129fce /include | |
parent | 2c2bcabf02e1453c1c8aceb6ee4c0ac62066a3a7 (diff) |
mwifiex: Remove unused 'adapter'variable
Commit 3935ccc14d2c introduced mwifiex_tm_cmd() which initializes
struct mwifiex_adapter* adapter, but doesn't use it.
Compiling with W=1 gives the following warning, fix it.
mwifiex/cfg80211.c: In function ‘mwifiex_tm_cmd’:
mwifiex/cfg80211.c:3973:26: warning: variable ‘adapter’ set but not used [-Wunused-but-set-variable]
Fixes: 3935ccc14d2c ("mwifiex: add cfg80211 testmode support")
Cc: Xinming Hu <huxm@marvell.com>
Cc: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kirtika Ruchandani <kirtika@google.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions