Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote: > We added an unnecessary condition here in commit a904417fc876 ("ath10k: > add extended per sta tx statistics support"). "legacy_rate_idx" is a u8 > so it can't be negative. The caller doesn't pass negatives either. I > have deleted this code. > > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. e3bfecd5cd37 ath10k: htt: remove some dead code -- https://patchwork.kernel.org/patch/10636255/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches