Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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.org


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 49175fe6
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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,
};