summaryrefslogtreecommitdiff
path: root/net/wireless/core.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2016-05-03 16:26:40 +0300
committerJohannes Berg <johannes.berg@intel.com>2016-05-12 11:16:24 +0200
commit8b9b2f06998f33bdd1774a9860ec60e945977384 (patch)
treeb680ba48107b682c0fed5e48aa12cbbb9d9a7255 /net/wireless/core.h
parent9e9ea43905597d9ba79b421b87c7851b8350717c (diff)
cfg80211: remove erroneous comment
The devlist_mtx mutex was removed about two years ago, in favour of just using RTNL/RCU protection. Remove the comment still referencing it. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r--net/wireless/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h
index ac44e77ac2f2..f75d7605bc38 100644
--- a/net/wireless/core.h
+++ b/net/wireless/core.h
@@ -53,7 +53,7 @@ struct cfg80211_registered_device {
/* associated wireless interfaces, protected by rtnl or RCU */
struct list_head wdev_list;
int devlist_generation, wdev_id;
- int opencount; /* also protected by devlist_mtx */
+ int opencount;
wait_queue_head_t dev_wait;
struct list_head beacon_registrations;