virt_wifi: remove set but not used variable 'w_priv'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 17 Jan 2019 03:17:03 +0000 (03:17 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Sat, 19 Jan 2019 08:57:42 +0000 (09:57 +0100)
commite073f7caa26cc7f5423779b1a47f1689dd20bf17
treeb9baf0e9ca2d17f443d3e885b44c35da73145710
parent0c4335de196c23a28d9de8f5eb8b973673051ad9
virt_wifi: remove set but not used variable 'w_priv'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/wireless/virt_wifi.c: In function 'virt_wifi_net_device_stop':
drivers/net/wireless/virt_wifi.c:432:31: warning:
 variable 'w_priv' set but not used [-Wunused-but-set-variable]

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/virt_wifi.c