]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mt76: mt7921: get rid of mt7921_sta_rc_update routine
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 24 Feb 2021 15:57:18 +0000 (16:57 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sun, 11 Apr 2021 22:01:22 +0000 (00:01 +0200)
Since the rate selection is currently managed by the fw, get rid of
empty mt7921_sta_rc_update routine

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/main.c

index cdb474ff370ac3b121d78640f956b53ac55d7bed..43e878c6961679b0b383d894491d9356191507fe 100644 (file)
@@ -1031,14 +1031,6 @@ mt7921_set_antenna(struct ieee80211_hw *hw, u32 tx_ant, u32 rx_ant)
        return 0;
 }
 
-static void
-mt7921_sta_rc_update(struct ieee80211_hw *hw,
-                    struct ieee80211_vif *vif,
-                    struct ieee80211_sta *sta,
-                    u32 changed)
-{
-}
-
 static void mt7921_sta_statistics(struct ieee80211_hw *hw,
                                  struct ieee80211_vif *vif,
                                  struct ieee80211_sta *sta,
@@ -1165,7 +1157,6 @@ const struct ieee80211_ops mt7921_ops = {
        .sta_add = mt7921_sta_add,
        .sta_remove = mt7921_sta_remove,
        .sta_pre_rcu_remove = mt76_sta_pre_rcu_remove,
-       .sta_rc_update = mt7921_sta_rc_update,
        .set_key = mt7921_set_key,
        .ampdu_action = mt7921_ampdu_action,
        .set_rts_threshold = mt7921_set_rts_threshold,