diff options
author | Peter Seiderer <ps.report@gmx.net> | 2022-09-15 21:52:43 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-10-07 15:25:05 +0200 |
commit | 4857ed9385fbd25060051cc42a93c3074de2f4dd (patch) | |
tree | 03e81c4b741c4d228714dee2abe09d79bd0e393b /net/mac80211/rc80211_minstrel_ht.c | |
parent | 9d13aff91ecd3f077b432df35291c945bde585be (diff) | |
download | lwn-4857ed9385fbd25060051cc42a93c3074de2f4dd.tar.gz lwn-4857ed9385fbd25060051cc42a93c3074de2f4dd.zip |
wifi: mac80211: minstrel_ht: remove unused has_mrr member from struct minstrel_priv
Remove unused has_mrr (has multi-rate retry capabilities) member
from struct minstrel_priv (only set once in minstrel_ht_alloc, never
used again).
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rc80211_minstrel_ht.c')
-rw-r--r-- | net/mac80211/rc80211_minstrel_ht.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/mac80211/rc80211_minstrel_ht.c b/net/mac80211/rc80211_minstrel_ht.c index 7f3f5f51081d..f936d6b3f093 100644 --- a/net/mac80211/rc80211_minstrel_ht.c +++ b/net/mac80211/rc80211_minstrel_ht.c @@ -1963,9 +1963,6 @@ minstrel_ht_alloc(struct ieee80211_hw *hw) /* safe default, does not necessarily have to match hw properties */ mp->max_retry = 7; - if (hw->max_rates >= 4) - mp->has_mrr = true; - mp->hw = hw; mp->update_interval = HZ / 20; |