]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: mac80211: remove unused variables in minstrel_ht_alloc_sta
authorJiajia Liu <liujiajia@kylinos.cn>
Tue, 7 Apr 2026 06:32:05 +0000 (14:32 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 7 Apr 2026 13:40:25 +0000 (15:40 +0200)
commitc4ed2c3f4f5e34156e607f2ea92cefad638af50e
treed1ff41c7758f7bafc971ef42ad536570f8afb771
parent368f5098ed0b2eb5d06dbbe692c163c85f240a4d
wifi: mac80211: remove unused variables in minstrel_ht_alloc_sta

Remove the unused variable max_rates and related code. Also remove the
variable mi and pass type to kzalloc_obj instead.

Signed-off-by: Jiajia Liu <liujiajia@kylinos.cn>
Link: https://patch.msgid.link/20260407063205.68471-1-liujiajia@kylinos.cn
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rc80211_minstrel_ht.c