]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mac80211: Remove unused variable in per STA debugfs struct
authorMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Sat, 19 Mar 2016 14:29:43 +0000 (19:59 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 5 Apr 2016 09:57:11 +0000 (11:57 +0200)
Remove unused variable in per STA debugfs structure, 'commit 34e895075e21
("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>
net/mac80211/debugfs_sta.c
net/mac80211/sta_info.h

index fbbd66c9ca51c9068d3b8a60c3c79ca8fd6eacdb..051b225057208bd57f595b2d002aa6cbf0882308 100644 (file)
@@ -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;
 
index 053f5c4fa495ba02cd99c5ddb201ce0ad0f7aeff..276056e99862e97bd260f4a73627a729d3f44484 100644 (file)
@@ -488,7 +488,6 @@ struct sta_info {
 #ifdef CONFIG_MAC80211_DEBUGFS
        struct sta_info_debugfsdentries {
                struct dentry *dir;
-               bool add_has_run;
        } debugfs;
 #endif