diff options
author | Alex Elder <elder@linaro.org> | 2021-06-12 09:37:35 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-12 13:18:49 -0700 |
commit | 411a795e14b1fcbf64bc9ef6869d2bf9a5bf3c9a (patch) | |
tree | 64a41655ebbd6b7d1833f20a1c82ad8ab02c88ee /drivers/net/wwan/iosm/iosm_ipc_task_queue.h | |
parent | be754f6435936e78dafe0ebb9d1e9d52c3bde842 (diff) |
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 'drivers/net/wwan/iosm/iosm_ipc_task_queue.h')
0 files changed, 0 insertions, 0 deletions