Skip to content

Commit

Permalink
mac80211: remove shadowing duplicated variable
Browse files Browse the repository at this point in the history
We already have 'ifmgd' here, and it's already assigned
to the same value, so remove the duplicate.

Signed-off-by: Johannes Berg <[email protected]>
  • Loading branch information
jmberg-intel committed Mar 29, 2018
1 parent db3bdcb commit 4d191c7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -2011,8 +2011,6 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata,

/* deauthenticate/disassociate now */
if (tx || frame_buf) {
struct ieee80211_if_managed *ifmgd = &sdata->u.mgd;

/*
* In multi channel scenarios guarantee that the virtual
* interface is granted immediate airtime to transmit the
Expand Down

0 comments on commit 4d191c7

Please sign in to comment.