aboutsummaryrefslogtreecommitdiff
path: root/net/tipc/socket.c
diff options
context:
space:
mode:
authorTariq Toukan <[email protected]>2017-12-28 16:26:08 +0200
committerDavid S. Miller <[email protected]>2017-12-28 12:24:05 -0500
commit345ef18c24715765baa3e186954c69a43dcd09c9 (patch)
tree34eb103dc503d4d357be4c00092815da8f1c4d03 /net/tipc/socket.c
parent8ec69574031bb8e0a19cf318c093acc871abd965 (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions