cfg80211: drop duplicated documentation of field "registered"
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Fri, 21 Feb 2020 11:55:57 +0000 (12:55 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 24 Feb 2020 09:26:51 +0000 (10:26 +0100)
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>
Link: https://lore.kernel.org/r/20200221115604.594035-3-Jerome.Pouiller@silabs.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h

index eaf6547..e849f4e 100644 (file)
@@ -4465,7 +4465,6 @@ struct wiphy_iftype_akm_suites {
  * @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,
@@ -4690,7 +4689,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> */