net/mlx4: fix ring wraparound compiler hint
authorMatan Azrad <matan@mellanox.com>
Thu, 2 Nov 2017 16:42:46 +0000 (16:42 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 3 Nov 2017 19:22:08 +0000 (20:22 +0100)
commit05be4516c983ed233e3cc3262a2f2a23956c2073
tree3ea904c964a4b3504100c45e7e428fbd698bfc45
parent326d2cdf7b5edbe5d6a6e41b37f36b719fd78808
net/mlx4: fix ring wraparound compiler hint

Remove unlikely hint from WQ wraparound check because it is
expected case.

Fixes: c3c977bbecbd ("net/mlx4: add Tx bypassing Verbs")

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