summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-10-05 21:56:23 +0300
committerKalle Valo <kvalo@codeaurora.org>2018-10-13 20:23:56 +0300
commit7bfd82bff60ef572b9acef8ca32669ace1f50664 (patch)
tree198a2e198eadd03241cfd7a9e57c571ff4d36d08 /tools/perf/scripts/python/export-to-postgresql.py
parent9d9cdbf3f9edbcc0d4f2b4d17f3329315c5f84ad (diff)
downloadlinux-7bfd82bff60ef572b9acef8ca32669ace1f50664.tar.xz
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions