diff mbox series

[03/10] cfg80211: drop duplicated documentation of field "registered"

Message ID 20200221115604.594035-3-Jerome.Pouiller@silabs.com
State New
Headers show
Series [01/10] cfg80211: drop duplicated documentation of field "probe_resp_offload" | expand

Commit Message

Jérôme Pouiller Feb. 21, 2020, 11:55 a.m. UTC
From: Jérôme Pouiller <jerome.pouiller@silabs.com>

Field "registered" was documented three times: twice in the
documentation block of struct wiphy and once inside the struct
definition. This patch keep only one comment.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
---
 include/net/cfg80211.h | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 292871ae9828..bf3bb1265bcc 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -4412,7 +4412,6 @@  struct cfg80211_pmsr_capabilities {
  * @debugfsdir: debugfs directory used for this wiphy, will be renamed
  *	automatically on wiphy renames
  * @dev: (virtual) struct device for this wiphy
- * @registered: helps synchronize suspend/resume with wiphy unregister
  * @wext: wireless extension handlers
  * @priv: driver private data (sized according to wiphy_new() parameter)
  * @interface_modes: bitmask of interfaces types valid for this wiphy,
@@ -4640,7 +4639,6 @@  struct wiphy {
 	 * you need use set_wiphy_dev() (see below) */
 	struct device dev;
 
-	/* protects ->resume, ->suspend sysfs callbacks against unregister hw */
 	bool registered;
 
 	/* dir in debugfs: ieee80211/<wiphyname> */