diff options
| author | Tariq Toukan <tariqt@mellanox.com> | 2017-12-28 16:26:08 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-12-28 12:24:05 -0500 |
| commit | 345ef18c24715765baa3e186954c69a43dcd09c9 (patch) | |
| tree | 34eb103dc503d4d357be4c00092815da8f1c4d03 /lib/mpi/mpi-internal.h | |
| parent | 8ec69574031bb8e0a19cf318c093acc871abd965 (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 <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions
