ath11k: Remove some duplicate code
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 25 Jun 2021 19:38:00 +0000 (22:38 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 2 Jul 2021 11:40:24 +0000 (14:40 +0300)
commit0791ba2bc7d33f544528410d9d77aa1b5018adab
tree9b8c786a2201884ba80f0ddc52137b136fde6fcb
parent923a134647a0cf7695f667c9399cab0762555a13
ath11k: Remove some duplicate code

'ATH11K_HE_MCS_MAX' is 11, so these 2 blocks of code are exactly the same.
Remove the one that uses a hard-coded constant.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/a65952db7f4eb8aaaa654b77dcd4930482f5c49b.1624483438.git.christophe.jaillet@wanadoo.fr
drivers/net/wireless/ath/ath11k/dp_rx.c