mwifiex: Removed unused mwifiex_private* 'priv' variable
authorKirtika Ruchandani <kirtika.ruchandani@gmail.com>
Thu, 24 Nov 2016 01:24:40 +0000 (17:24 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 29 Nov 2016 15:27:47 +0000 (17:27 +0200)
commit70d740598713cb6164e9b6b4ccd03ea3101377cd
tree895c61db365fab009496fe71c21670bddeddad8b
parentc06696a9582098e4e12b027effa405135f79aaa5
mwifiex: Removed unused mwifiex_private* 'priv' variable

Commit bec568ff5107 removed the last remaining usage of struct
mwifiex_private* priv in mwifiex_fw_dpc(), by removing the call to
mwifiex_del_virtual_intf().
Compiling mwifiex/ with W=1 gives the following warning, fix it.
mwifiex/main.c: In function ‘mwifiex_fw_dpc’:
mwifiex/main.c:520:26: warning: variable ‘priv’ set but not used [-Wunused-but-set-variable]

Fixes: bec568ff5107 ("mwifiex: failure path handling in mwifiex_add_virtual_intf()")
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/main.c