ath10k: spectral: Remove redundant check

Kalle Valo kvalo at qca.qualcomm.com
Fri Oct 27 06:49:36 PDT 2017


Christos Gkekas <chris.gekas at gmail.com> wrote:

> Variable val is unsigned, so checking whether it is less than zero is
> redundant.
> 
> Signed-off-by: Christos Gkekas <chris.gekas at gmail.com>
> Signed-off-by: Kalle Valo <kvalo at qca.qualcomm.com>

Patch applied to ath-next branch of ath.git, thanks.

d83c0d3293bb ath10k: spectral: remove redundant check in write_file_spectral_count()

-- 
https://patchwork.kernel.org/patch/10006335/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




More information about the ath10k mailing list