diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-12 16:26:58 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2019-07-26 13:21:12 +0200 |
commit | 612fcfd9b31f08858d2a2e1279adda367e1ade00 (patch) | |
tree | 955945cc0435f7a4f71e9b3718d9837d55a2874f /net/mac80211/sta_info.c | |
parent | 09e1946cb7590d1a7a314534420f05c7abdf1f55 (diff) | |
download | linux-stable-612fcfd9b31f08858d2a2e1279adda367e1ade00.tar.gz linux-stable-612fcfd9b31f08858d2a2e1279adda367e1ade00.tar.bz2 linux-stable-612fcfd9b31f08858d2a2e1279adda367e1ade00.zip |
mac80211: remove unused and unneeded remove_sta_debugfs callback
The remove_sta_debugfs callback in struct rate_control_ops is no longer
used by any driver, as there is no need for it (the debugfs directory is
already removed recursivly by the mac80211 core.) Because no one needs
it, just remove it to keep anyone else from accidentally using it in the
future.
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20190612142658.12792-5-gregkh@linuxfoundation.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/sta_info.c')
-rw-r--r-- | net/mac80211/sta_info.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c index 95eb8220e2e4..fb6614f57cbc 100644 --- a/net/mac80211/sta_info.c +++ b/net/mac80211/sta_info.c @@ -1065,7 +1065,6 @@ static void __sta_info_destroy_part2(struct sta_info *sta) cfg80211_del_sta_sinfo(sdata->dev, sta->sta.addr, sinfo, GFP_KERNEL); kfree(sinfo); - rate_control_remove_sta_debugfs(sta); ieee80211_sta_debugfs_remove(sta); cleanup_single_sta(sta); |