summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/vmx
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@mellanox.com>2017-12-28 16:26:08 +0200
committerDavid S. Miller <davem@davemloft.net>2017-12-28 12:24:05 -0500
commit345ef18c24715765baa3e186954c69a43dcd09c9 (patch)
tree34eb103dc503d4d357be4c00092815da8f1c4d03 /drivers/crypto/vmx
parent8ec69574031bb8e0a19cf318c093acc871abd965 (diff)
downloadlinux-345ef18c24715765baa3e186954c69a43dcd09c9.tar.bz2
net/mlx4_en: RX csum, remove redundant branches and checks
Do not check IPv6 bit in cqe status if CONFIG_IPV6 is not enabled. Function check_csum() is reached only with IPv4 or IPv6 set (if enabled), if IPv6 is not set (or is not enabled) it is redundant to test the IPv4 bit. Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/crypto/vmx')
0 files changed, 0 insertions, 0 deletions