aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2021-06-12 14:37:35 +0000
committerDavid S. Miller <[email protected]>2021-06-12 20:18:49 +0000
commit411a795e14b1fcbf64bc9ef6869d2bf9a5bf3c9a (patch)
tree64a41655ebbd6b7d1833f20a1c82ad8ab02c88ee /drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c
parentnet: qualcomm: rmnet: trailer value is a checksum (diff)
downloadkernel-411a795e14b1fcbf64bc9ef6869d2bf9a5bf3c9a.tar.gz
kernel-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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c')
0 files changed, 0 insertions, 0 deletions