Kaynağa Gözat

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>
Johannes Berg 9 yıl önce
ebeveyn
işleme
8b9b2f0699
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      net/wireless/core.h

+ 1 - 1
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;