net: wireless: delete duplicated word + fix grammar
authorRandy Dunlap <rdunlap@infradead.org>
Sat, 22 Aug 2020 23:19:49 +0000 (16:19 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 27 Aug 2020 09:23:16 +0000 (11:23 +0200)
Drop the repeated word "Return" + fix verb.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Johannes Berg <johannes.berg@intel.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: linux-wireless@vger.kernel.org
Link: https://lore.kernel.org/r/20200822231953.465-4-rdunlap@infradead.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.h

index 67b0389..2ebc2a6 100644 (file)
@@ -466,8 +466,8 @@ extern struct work_struct cfg80211_disconnect_work;
  *
  * Checks if chandef is usable and we can/need start CAC on such channel.
  *
- * Return: Return true if all channels available and at least
- *        one channel require CAC (NL80211_DFS_USABLE)
+ * Return: true if all channels available and at least
+ *        one channel requires CAC (NL80211_DFS_USABLE)
  */
 bool cfg80211_chandef_dfs_usable(struct wiphy *wiphy,
                                 const struct cfg80211_chan_def *chandef);