mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
mac80211: Remove unused variable in per STA debugfs struct
Remove unused variable in per STA debugfs structure, 'commit 34e895075e
("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>
This commit is contained in:
parent
1e0bbebaae
commit
96f321c9d4
2 changed files with 0 additions and 3 deletions
|
@ -352,8 +352,6 @@ void ieee80211_sta_debugfs_add(struct sta_info *sta)
|
||||||
struct dentry *stations_dir = sta->sdata->debugfs.subdir_stations;
|
struct dentry *stations_dir = sta->sdata->debugfs.subdir_stations;
|
||||||
u8 mac[3*ETH_ALEN];
|
u8 mac[3*ETH_ALEN];
|
||||||
|
|
||||||
sta->debugfs.add_has_run = true;
|
|
||||||
|
|
||||||
if (!stations_dir)
|
if (!stations_dir)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
@ -488,7 +488,6 @@ struct sta_info {
|
||||||
#ifdef CONFIG_MAC80211_DEBUGFS
|
#ifdef CONFIG_MAC80211_DEBUGFS
|
||||||
struct sta_info_debugfsdentries {
|
struct sta_info_debugfsdentries {
|
||||||
struct dentry *dir;
|
struct dentry *dir;
|
||||||
bool add_has_run;
|
|
||||||
} debugfs;
|
} debugfs;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue