aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/mac80211/debugfs_sta.c2
-rw-r--r--net/mac80211/sta_info.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/net/mac80211/debugfs_sta.c b/net/mac80211/debugfs_sta.c
index fbbd66c9ca51..051b22505720 100644
--- a/net/mac80211/debugfs_sta.c
+++ b/net/mac80211/debugfs_sta.c
@@ -352,8 +352,6 @@ void ieee80211_sta_debugfs_add(struct sta_info *sta)
352 struct dentry *stations_dir = sta->sdata->debugfs.subdir_stations; 352 struct dentry *stations_dir = sta->sdata->debugfs.subdir_stations;
353 u8 mac[3*ETH_ALEN]; 353 u8 mac[3*ETH_ALEN];
354 354
355 sta->debugfs.add_has_run = true;
356
357 if (!stations_dir) 355 if (!stations_dir)
358 return; 356 return;
359 357
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h
index 053f5c4fa495..276056e99862 100644
--- a/net/mac80211/sta_info.h
+++ b/net/mac80211/sta_info.h
@@ -488,7 +488,6 @@ struct sta_info {
488#ifdef CONFIG_MAC80211_DEBUGFS 488#ifdef CONFIG_MAC80211_DEBUGFS
489 struct sta_info_debugfsdentries { 489 struct sta_info_debugfsdentries {
490 struct dentry *dir; 490 struct dentry *dir;
491 bool add_has_run;
492 } debugfs; 491 } debugfs;
493#endif 492#endif
494 493