net/mlx4_en: RX csum, reorder branches
commitdc484851edccbfb1051b821f713e2ae16b57acdf
authorTariq Toukan <tariqt@mellanox.com>
Thu, 28 Dec 2017 14:26:09 +0000 (28 16:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Dec 2017 17:24:05 +0000 (28 12:24 -0500)
tree785850126e3afea89b23e0359aa22a6a1b58e44e
parent345ef18c24715765baa3e186954c69a43dcd09c9
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