Commit 09e1946c authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman Committed by Johannes Berg

iwlwifi: mvm: remove unused .remove_sta_debugfs callback

The .remove_sta_debugfs callback was not doing anything in this driver,
so remove it as it is not needed.
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20190612142658.12792-4-gregkh@linuxfoundation.orgSigned-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 49175fe6
...@@ -4093,10 +4093,6 @@ static void rs_drv_add_sta_debugfs(void *mvm, void *priv_sta, ...@@ -4093,10 +4093,6 @@ static void rs_drv_add_sta_debugfs(void *mvm, void *priv_sta,
MVM_DEBUGFS_ADD_FILE_RS(ss_force, dir, 0600); MVM_DEBUGFS_ADD_FILE_RS(ss_force, dir, 0600);
} }
void rs_remove_sta_debugfs(void *mvm, void *mvm_sta)
{
}
#endif #endif
/* /*
...@@ -4124,7 +4120,6 @@ static const struct rate_control_ops rs_mvm_ops_drv = { ...@@ -4124,7 +4120,6 @@ static const struct rate_control_ops rs_mvm_ops_drv = {
.rate_update = rs_drv_rate_update, .rate_update = rs_drv_rate_update,
#ifdef CONFIG_MAC80211_DEBUGFS #ifdef CONFIG_MAC80211_DEBUGFS
.add_sta_debugfs = rs_drv_add_sta_debugfs, .add_sta_debugfs = rs_drv_add_sta_debugfs,
.remove_sta_debugfs = rs_remove_sta_debugfs,
#endif #endif
.capa = RATE_CTRL_CAPA_VHT_EXT_NSS_BW, .capa = RATE_CTRL_CAPA_VHT_EXT_NSS_BW,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment