Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Peter Seiderer and committed by
Johannes Berg
4857ed93 9d13aff9

-4
-3
net/mac80211/rc80211_minstrel_ht.c
··· 1963 1963 /* safe default, does not necessarily have to match hw properties */ 1964 1964 mp->max_retry = 7; 1965 1965 1966 - if (hw->max_rates >= 4) 1967 - mp->has_mrr = true; 1968 - 1969 1966 mp->hw = hw; 1970 1967 mp->update_interval = HZ / 20; 1971 1968
-1
net/mac80211/rc80211_minstrel_ht.h
··· 74 74 75 75 struct minstrel_priv { 76 76 struct ieee80211_hw *hw; 77 - bool has_mrr; 78 77 unsigned int cw_min; 79 78 unsigned int cw_max; 80 79 unsigned int max_retry;