commit | 7bfd82bff60ef572b9acef8ca32669ace1f50664 | [log] [tgz] |
---|---|---|
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | Fri Oct 05 20:56:23 2018 +0200 |
committer | Kalle Valo <kvalo@codeaurora.org> | Sat Oct 13 20:23:56 2018 +0300 |
tree | 198a2e198eadd03241cfd7a9e57c571ff4d36d08 | |
parent | 9d9cdbf3f9edbcc0d4f2b4d17f3329315c5f84ad [diff] |
ath10k: remove unnecessary comparison of unsigned integer with < 0 There is no need to compare *ps_state_enable* with < 0 because such variable is of type u8 (8 bits, unsigned), making it impossible to hold a negative value. Fix this by removing such comparison. Addresses-Coverity-ID: 1473921 ("Unsigned compared against 0") Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>