projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d25745
)
mac80211: remove unused assignment
author
Johannes Berg
<johannes.berg@intel.com>
Fri, 6 Jul 2012 19:18:24 +0000
(21:18 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Mon, 9 Jul 2012 12:49:11 +0000
(14:49 +0200)
ieee80211_mlme_notify_scan_completed() iterates all
interfaces and doesn't need to assign anything to
the sdata variable before the loop.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c
patch
|
blob
|
history
diff --git
a/net/mac80211/mlme.c
b/net/mac80211/mlme.c
index
6eab633
..
4b503ce
100644
(file)
--- a/
net/mac80211/mlme.c
+++ b/
net/mac80211/mlme.c
@@
-2977,7
+2977,7
@@
void ieee80211_sta_setup_sdata(struct ieee80211_sub_if_data *sdata)
/* scan finished notification */
void ieee80211_mlme_notify_scan_completed(struct ieee80211_local *local)
{
- struct ieee80211_sub_if_data *sdata
= local->scan_sdata
;
+ struct ieee80211_sub_if_data *sdata;
/* Restart STA timers */
rcu_read_lock();