projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db3bdcb
)
mac80211: remove shadowing duplicated variable
author
Johannes Berg
<johannes.berg@intel.com>
Thu, 29 Mar 2018 09:14:30 +0000
(11:14 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Thu, 29 Mar 2018 09:35:23 +0000
(11:35 +0200)
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>
net/mac80211/mlme.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/mlme.c
b/net/mac80211/mlme.c
index a3bcf953d423a30f92bdbe49f217122aef877641..d2bc52046729c1382858a67f7bec79d85b987781 100644
(file)
--- 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