]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Remove unlikely() from WARN*() condition
authorDenis Efremov <efremov@linux.com>
Thu, 29 Aug 2019 16:50:17 +0000 (19:50 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 Aug 2019 02:49:03 +0000 (19:49 -0700)
commit52b3feb3629b05e100cee08043bac50c6e79c344
tree5d376a4f5bbf51688d655e272d8342e7d0d3ed16
parentd9cd90e36312f18fd6dc416bb2eefa30a7153691
net/mlx5e: Remove unlikely() from WARN*() condition

"unlikely(WARN_ON_ONCE(x))" is excessive. WARN_ON_ONCE() already uses
unlikely() internally.

Signed-off-by: Denis Efremov <efremov@linux.com>
Cc: Boris Pismenny <borisp@mellanox.com>
Cc: Saeed Mahameed <saeedm@mellanox.com>
Cc: Leon Romanovsky <leon@kernel.org>
Cc: Joe Perches <joe@perches.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: netdev@vger.kernel.org
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c