Home
last modified time | relevance | path

Searched hist:"411 a795e14b1fcbf64bc9ef6869d2bf9a5bf3c9a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_map_data.cdiff 411a795e14b1fcbf64bc9ef6869d2bf9a5bf3c9a Sat Jun 12 09:37:35 CDT 2021 Alex Elder <elder@linaro.org> 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>