summaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2024-05-06 22:14:22 +0300
committerJohannes Berg <johannes.berg@intel.com>2024-05-23 11:22:34 +0300
commit7aa5c8b4f9de463abc0407da38c9ffccdbc757d1 (patch)
treecd913fa460e6b9e9fafced9f76548b9026fcff78 /net/mac80211
parenteb745c7c854e200d7fd6ba0944691a1aaf882d4d (diff)
downloadlinux-7aa5c8b4f9de463abc0407da38c9ffccdbc757d1.tar.xz
wifi: mac80211: remove outdated comments
These comments are no longer correct, it's a wiphy work now so it will go away immediately when canceled. Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com> Link: https://msgid.link/20240506211422.68bc10efbd8a.If80f43f4c8b9db1f5266f70d93a805f8c7463fe2@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/cfg.c4
-rw-r--r--net/mac80211/util.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index b08e5d7687e3..88af2b8037cb 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -3482,10 +3482,6 @@ static void ieee80211_end_cac(struct wiphy *wiphy,
lockdep_assert_wiphy(local->hw.wiphy);
list_for_each_entry(sdata, &local->interfaces, list) {
- /* it might be waiting for the local->mtx, but then
- * by the time it gets it, sdata->wdev.cac_started
- * will no longer be true
- */
wiphy_delayed_work_cancel(wiphy,
&sdata->deflink.dfs_cac_timer_work);
diff --git a/net/mac80211/util.c b/net/mac80211/util.c
index 0b893e958959..6139c930b572 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -3456,10 +3456,6 @@ void ieee80211_dfs_cac_cancel(struct ieee80211_local *local)
lockdep_assert_wiphy(local->hw.wiphy);
list_for_each_entry(sdata, &local->interfaces, list) {
- /* it might be waiting for the local->mtx, but then
- * by the time it gets it, sdata->wdev.cac_started
- * will no longer be true
- */
wiphy_delayed_work_cancel(local->hw.wiphy,
&sdata->deflink.dfs_cac_timer_work);