提交 96f321c9 编写于 作者: M Mohammed Shafi Shajakhan 提交者: Johannes Berg

mac80211: Remove unused variable in per STA debugfs struct

Remove unused variable in per STA debugfs structure, 'commit 34e89507
("mac80211: allow station add/remove to sleep")' removed the only user of
'add_has_run'.
Signed-off-by: NMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
上级 1e0bbeba
......@@ -352,8 +352,6 @@ void ieee80211_sta_debugfs_add(struct sta_info *sta)
struct dentry *stations_dir = sta->sdata->debugfs.subdir_stations;
u8 mac[3*ETH_ALEN];
sta->debugfs.add_has_run = true;
if (!stations_dir)
return;
......
......@@ -488,7 +488,6 @@ struct sta_info {
#ifdef CONFIG_MAC80211_DEBUGFS
struct sta_info_debugfsdentries {
struct dentry *dir;
bool add_has_run;
} debugfs;
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册