]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_en: RX csum, reorder branches
authorTariq Toukan <tariqt@mellanox.com>
Thu, 28 Dec 2017 14:26:09 +0000 (16:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Dec 2017 17:24:05 +0000 (12:24 -0500)
commit233a391181aa17289ec1ac4e8ba82d900d3f6cc6
tree785850126e3afea89b23e0359aa22a6a1b58e44e
parentb661149cc12bddcc184b1c25c499ba624dd9088b
net/mlx4_en: RX csum, reorder branches

Use early goto commands, and save else branches.
This uses less indentations and brackets, making the code
more readable.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_rx.c