net: qualcomm: rmnet: remove some local variables
authorAlex Elder <elder@linaro.org>
Sat, 12 Jun 2021 14:37:29 +0000 (09:37 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Jun 2021 20:18:48 +0000 (13:18 -0700)
commit0e6af897fcd9c154c06f239669401c64da52d84e
treed3e07cf56c5a407b4b639e0ca71623ea04260fc4
parent73a378601a25dc6312530c33822fde3e177883d4
net: qualcomm: rmnet: remove some local variables

In rmnet_map_ipv4_dl_csum_trailer(), remove the "csum_temp" and
"addend" local variables, and simplify a few lines of code.

Remove the "csum_temp", "csum_value", "ip6_hdr_csum", and "addend"
local variables in rmnet_map_ipv6_dl_csum_trailer(), and simplify a
few lines of code there as well.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c