Subject: [PATCH 4/5] iwlwifi: mvm: remove unused .remove_sta_debugfs callback

From: Greg Kroah-Hartman <[email-masked]>
Date: Wed, 12 Jun 2019 16:26:57 +0200

The .remove_sta_debugfs callback was not doing anything in this driver,
so remove it as it is not needed.

Cc: Johannes Berg <[email-masked]>
Cc: Emmanuel Grumbach <[email-masked]>
Cc: Luca Coelho <[email-masked]>
Cc: Intel Linux Wireless <[email-masked]>
Cc: Kalle Valo <[email-masked]>
Cc: "David S. Miller" <[email-masked]>
Cc: Sara Sharon <[email-masked]>
Cc: Greg Kroah-Hartman <[email-masked]>
Cc: Erel Geron <[email-masked]>
Cc: Avraham Stern <[email-masked]>
Cc: [email-masked]
Cc: [email-masked]
Signed-off-by: Greg Kroah-Hartman <[email-masked]>
---
 drivers/net/wireless/intel/iwlwifi/mvm/rs.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rs.c b/drivers/net/wireless/intel/iwlwifi/mvm/rs.c
index c182821ab22b..15c1f825b749 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/rs.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/rs.c
@@ -4108,10 +4108,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
 
 /*
@@ -4139,7 +4135,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,
 };
-- 
2.22.0