Skip to content

Commit 96f321c

Browse files
Mohammed Shafi Shajakhanjmberg-intel
authored andcommitted
mac80211: Remove unused variable in per STA debugfs struct
Remove unused variable in per STA debugfs structure, 'commit 34e8950 ("mac80211: allow station add/remove to sleep")' removed the only user of 'add_has_run'. Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent 1e0bbeb commit 96f321c

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

‎net/mac80211/debugfs_sta.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,6 @@ void ieee80211_sta_debugfs_add(struct sta_info *sta)
352352
struct dentry *stations_dir = sta->sdata->debugfs.subdir_stations;
353353
u8 mac[3*ETH_ALEN];
354354

355-
sta->debugfs.add_has_run = true;
356-
357355
if (!stations_dir)
358356
return;
359357

‎net/mac80211/sta_info.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,6 @@ struct sta_info {
488488
#ifdef CONFIG_MAC80211_DEBUGFS
489489
struct sta_info_debugfsdentries {
490490
struct dentry *dir;
491-
bool add_has_run;
492491
} debugfs;
493492
#endif
494493

0 commit comments

Comments
 (0)