Commit 7814fb6c authored by Ajay Singh's avatar Ajay Singh Committed by Greg Kroah-Hartman

staging: wilc1000: remove unused variable 'op_ifcs'

After code refactor in previous commit now 'op_ifcs' is not require any
more, so remove it.
Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent aa6ed22a
...@@ -82,8 +82,6 @@ static const struct wiphy_wowlan_support wowlan_support = { ...@@ -82,8 +82,6 @@ static const struct wiphy_wowlan_support wowlan_support = {
.flags = WIPHY_WOWLAN_ANY .flags = WIPHY_WOWLAN_ANY
}; };
static u8 op_ifcs;
#define CHAN2G(_channel, _freq, _flags) { \ #define CHAN2G(_channel, _freq, _flags) { \
.band = NL80211_BAND_2GHZ, \ .band = NL80211_BAND_2GHZ, \
.center_freq = (_freq), \ .center_freq = (_freq), \
...@@ -2164,7 +2162,6 @@ int wilc_init_host_int(struct net_device *net) ...@@ -2164,7 +2162,6 @@ int wilc_init_host_int(struct net_device *net)
timer_setup(&priv->aging_timer, remove_network_from_shadow, 0); timer_setup(&priv->aging_timer, remove_network_from_shadow, 0);
timer_setup(&vif->during_ip_timer, clear_during_ip, 0); timer_setup(&vif->during_ip_timer, clear_during_ip, 0);
op_ifcs++;
priv->p2p_listen_state = false; priv->p2p_listen_state = false;
...@@ -2184,8 +2181,6 @@ int wilc_deinit_host_int(struct net_device *net) ...@@ -2184,8 +2181,6 @@ int wilc_deinit_host_int(struct net_device *net)
priv->p2p_listen_state = false; priv->p2p_listen_state = false;
op_ifcs--;
mutex_destroy(&priv->scan_req_lock); mutex_destroy(&priv->scan_req_lock);
ret = wilc_deinit(vif); ret = wilc_deinit(vif);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment