aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wwan/iosm/iosm_ipc_pcie.c
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2021-06-12 09:37:33 -0500
committerDavid S. Miller <[email protected]>2021-06-12 13:18:48 -0700
commit698aa6c46bf09070310cd2c8893ea2de5a796644 (patch)
tree8f052429509a0971d271df4df2812e5d76aadfbb /drivers/net/wwan/iosm/iosm_ipc_pcie.c
parentfab01a6f3a61748b9c2e038c84498c6624b06236 (diff)
net: qualcomm: rmnet: remove unneeded code
The previous patch makes rmnet_map_ipv4_dl_csum_trailer() return early with an error if it is determined that the computed checksum for the IP payload does not match what was expected. If the computed checksum *does* match the expected value, the IP payload (i.e., the transport message), can be considered good. There is no need to do any further processing of the message. This means a big block of code is unnecessary for validating the transport checksum value, and can be removed. Make comparable changes in rmnet_map_ipv6_dl_csum_trailer(). Signed-off-by: Alex Elder <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_pcie.c')
0 files changed, 0 insertions, 0 deletions