Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> wrote: > '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@xxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. 0791ba2bc7d3 ath11k: Remove some duplicate code -- https://patchwork.kernel.org/project/linux-wireless/patch/a65952db7f4eb8aaaa654b77dcd4930482f5c49b.1624483438.git.christophe.jaillet@xxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches