net/mlx4: remove duplicate handling in Tx burst
authorMatan Azrad <matan@mellanox.com>
Thu, 2 Nov 2017 16:42:48 +0000 (16:42 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 3 Nov 2017 19:22:08 +0000 (20:22 +0100)
commit4d8e284df295741e4b30d96ac0552b7b8669a3f0
tree868a9b06542eadcf79be17416013e35edc495a95
parentafe67d2c9987d933ff68e0c3c2c23b3ef2f62848
net/mlx4: remove duplicate handling in Tx burst

Remove usage of variable which count the packets for completion and
doesn't add more information than packets counter.

Remove no space in elements ring check which is already covered by
regular Tx flow.

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx4/mlx4_rxtx.c