mac80211: remove sta_remove_debugfs driver callback
No drivers implement this, relying either on the recursive directory removal to remove their debugfs, or not having any to start with. Remove the dead driver callback. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
@@ -544,10 +544,6 @@ void ieee80211_sta_debugfs_add(struct sta_info *sta)
|
||||
|
||||
void ieee80211_sta_debugfs_remove(struct sta_info *sta)
|
||||
{
|
||||
struct ieee80211_local *local = sta->local;
|
||||
struct ieee80211_sub_if_data *sdata = sta->sdata;
|
||||
|
||||
drv_sta_remove_debugfs(local, sdata, &sta->sta, sta->debugfs_dir);
|
||||
debugfs_remove_recursive(sta->debugfs_dir);
|
||||
sta->debugfs_dir = NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user