summaryrefslogtreecommitdiff
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2018-03-29 12:14:30 +0300
committerJohannes Berg <johannes.berg@intel.com>2018-03-29 12:35:23 +0300
commit4d191c75365a0067a9d5b8c8746b1bd9310c5a70 (patch)
treeafcdd85f923de5fbbd39987b845a61f30a5d2a42 /net/mac80211/mlme.c
parentdb3bdcb9c3ffc628c5284d7ed03a704295ba1214 (diff)
downloadlinux-4d191c75365a0067a9d5b8c8746b1bd9310c5a70.tar.xz
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: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r--net/mac80211/mlme.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index a3bcf953d423..d2bc52046729 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -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