ath10k: spectral: remove redundant check in write_file_spectral_count()
authorChristos Gkekas <chris.gekas@gmail.com>
Fri, 27 Oct 2017 08:12:35 +0000 (11:12 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 27 Oct 2017 13:48:50 +0000 (16:48 +0300)
commitd83c0d3293bbf3fe40ce9e1ac273309a44bbde91
treed5b3106aa53d424a44e3a47ff503356082dfe005
parente5b6853e9922f415765dd8032761e726be94d8b0
ath10k: spectral: remove redundant check in write_file_spectral_count()

Variable val is unsigned, so checking whether it is less than zero is
redundant.

Signed-off-by: Christos Gkekas <chris.gekas@gmail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/spectral.c