Commit 4308d955 authored by Jérôme Pouiller's avatar Jérôme Pouiller Committed by Johannes Berg
Browse files

cfg80211: drop duplicated documentation of field "registered"



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: default avatarJérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200221115604.594035-3-Jerome.Pouiller@silabs.com


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent cfb99437
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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> */