]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_en: Combine checks of end-cases in RX completion function
authorTariq Toukan <tariqt@mellanox.com>
Tue, 27 Feb 2018 14:17:21 +0000 (16:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Feb 2018 19:53:26 +0000 (14:53 -0500)
commit6fed0288ab3407c40be7d81a62523392482c2f3e
tree0fae59f1572351fb39b6e2fe9419e5693402d194
parentc20cd0e3d2756bc993abcd9284539e12a552d781
net/mlx4_en: Combine checks of end-cases in RX completion function

Combine two end-cases in the same if statement with a single return value.

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