diff options
author | Colin Ian King <[email protected]> | 2023-09-20 13:12:40 +0100 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2023-09-28 19:24:30 +0300 |
commit | b2172a9330b5e48f37c3d4f29604727228b39885 (patch) | |
tree | 8ca4872c42d3fc2fce43ecfe8da8f2b62b1ea8b7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2a1c5c7de468801d414dcb4410aba32c3ee7207b (diff) |
wifi: rt2x00: remove redundant check if u8 array element is less than zero
The check on vga_gain[ch_idx] being less than zero is always false since
vga_gain is a u8 array. Clean up the code by removing the check and the
following assignment. Cleans up clang scan build warning:
drivers/net/wireless/ralink/rt2x00/rt2800lib.c:9704:26: warning:
result of comparison of unsigned expression < 0 is always
false [-Wtautological-unsigned-zero-compare]
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions