diff options
author | 2021-06-12 09:37:35 -0500 | |
---|---|---|
committer | 2021-06-12 13:18:49 -0700 | |
commit | 411a795e14b1fcbf64bc9ef6869d2bf9a5bf3c9a (patch) | |
tree | 64a41655ebbd6b7d1833f20a1c82ad8ab02c88ee /tools/perf/scripts/python/export-to-sqlite.py | |
parent | net: qualcomm: rmnet: trailer value is a checksum (diff) | |
download | linux-dev-411a795e14b1fcbf64bc9ef6869d2bf9a5bf3c9a.tar.xz linux-dev-411a795e14b1fcbf64bc9ef6869d2bf9a5bf3c9a.zip |
net: qualcomm: rmnet: drop some unary NOTs
We compare a payload checksum with a pseudo checksum value for
equality in rmnet_map_ipv4_dl_csum_trailer(). Both of those values
are computed with a unary NOT (~) operation. The result of the
comparison is the same if we omit that NOT for both values.
Remove these operations in rmnet_map_ipv6_dl_csum_trailer() also.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions