Commit 4d191c75 authored by Johannes Berg's avatar Johannes Berg

mac80211: remove shadowing duplicated variable

We already have 'ifmgd' here, and it's already assigned
to the same value, so remove the duplicate.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent db3bdcb9
...@@ -2011,8 +2011,6 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata, ...@@ -2011,8 +2011,6 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata,
/* deauthenticate/disassociate now */ /* deauthenticate/disassociate now */
if (tx || frame_buf) { if (tx || frame_buf) {
struct ieee80211_if_managed *ifmgd = &sdata->u.mgd;
/* /*
* In multi channel scenarios guarantee that the virtual * In multi channel scenarios guarantee that the virtual
* interface is granted immediate airtime to transmit the * interface is granted immediate airtime to transmit the
......
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