diff options
author | Gan Yi Fang <[email protected]> | 2023-10-18 11:08:02 +0800 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2023-10-19 12:27:23 +0200 |
commit | 392c226cda945dfc963d0a08cb231f76e551afba (patch) | |
tree | 81c0bf387a76ca1ef25d572cfa5db14ccf98cb22 /tools/perf/scripts/python/syscall-counts.py | |
parent | b91f2e13c972c3f2f33ecc873b0ff0ada3fa1854 (diff) |
net: stmmac: Remove redundant checking for rx_coalesce_usecs
The datatype of rx_coalesce_usecs is u32, always larger or equal to zero.
Previous checking does not include value 0, this patch removes the
checking to handle the value 0. This change in behaviour making the
value of 0 cause an error is not a problem because 0 is out of
range of rx_coalesce_usecs.
Signed-off-by: Gan Yi Fang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions