mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-28 16:56:26 +00:00
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>
This commit is contained in:
parent
9d13aff91e
commit
4857ed9385
@ -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;
|
||||
|
||||
|
@ -74,7 +74,6 @@
|
||||
|
||||
struct minstrel_priv {
|
||||
struct ieee80211_hw *hw;
|
||||
bool has_mrr;
|
||||
unsigned int cw_min;
|
||||
unsigned int cw_max;
|
||||
unsigned int max_retry;
|
||||
|
Loading…
Reference in New Issue
Block a user