]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Use eq ptr from cq
authorSaeed Mahameed <saeedm@mellanox.com>
Thu, 1 Feb 2018 13:37:44 +0000 (05:37 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 30 Mar 2018 23:16:17 +0000 (16:16 -0700)
commitb0f0396d46e3a1dff0c730572bc322a27746dc18
tree92f57d2690fd08b11273f78c82a4027dd7bb9cde
parent77fc16f769744dcf8771efc0bfeda3cbcc3c32fb
net/mlx5e: Use eq ptr from cq

Instead of looking for the EQ of the CQ, remove that redundant code and
use the eq pointer stored in the cq struct.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c