iwlwifi: mvm: remove unused .remove_sta_debugfs callback
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Jun 2019 14:26:57 +0000 (16:26 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Jul 2019 11:21:06 +0000 (13:21 +0200)
The .remove_sta_debugfs callback was not doing anything in this driver,
so remove it as it is not needed.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20190612142658.12792-4-gregkh@linuxfoundation.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rs.c

index 8c9069f28a589c78c0df05c8c36f6fea3e2fa328..009e72abcd5151cabc43ed0f0f518bf89a223e3a 100644 (file)
@@ -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);
 }
-
-void rs_remove_sta_debugfs(void *mvm, void *mvm_sta)
-{
-}
 #endif
 
 /*
@@ -4124,7 +4120,6 @@ static const struct rate_control_ops rs_mvm_ops_drv = {
        .rate_update = rs_drv_rate_update,
 #ifdef CONFIG_MAC80211_DEBUGFS
        .add_sta_debugfs = rs_drv_add_sta_debugfs,
-       .remove_sta_debugfs = rs_remove_sta_debugfs,
 #endif
        .capa = RATE_CTRL_CAPA_VHT_EXT_NSS_BW,
 };