Thread (14 messages) 14 messages, 2 authors, 2020-02-21
STALE2299d LANDED

[PATCH 02/10] cfg80211: drop duplicated documentation of field "privid"

From: Jerome Pouiller <Jerome.Pouiller@silabs.com>
Date: 2020-02-21 11:56:28
Also in: linux-wireless, lkml
Subsystem: 802.11 (including cfg80211/nl80211), the rest · Maintainers: Johannes Berg, Linus Torvalds

From: Jérôme Pouiller <jerome.pouiller@silabs.com>

The field "privid" was already documented above the definition of struct
wiphy. Comments were not identical, but they said more or less the same
thing.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
---
 include/net/cfg80211.h | 5 -----
 1 file changed, 5 deletions(-)
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 02efea52a276..292871ae9828 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -4624,11 +4624,6 @@ struct wiphy {
 	const struct wiphy_iftype_ext_capab *iftype_ext_capab;
 	unsigned int num_iftype_ext_capab;
 
-	/* If multiple wiphys are registered and you're handed e.g.
-	 * a regular netdev with assigned ieee80211_ptr, you won't
-	 * know whether it points to a wiphy your driver has registered
-	 * or not. Assign this to something global to your driver to
-	 * help determine whether you own this wiphy or not. */
 	const void *privid;
 
 	struct ieee80211_supported_band *bands[NUM_NL80211_BANDS];
-- 
2.25.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help