]> asedeno.scripts.mit.edu Git - linux.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)
commit7b2117bb8ff98b7b82543f77768dfe7aca7e3746
tree92f57d2690fd08b11273f78c82a4027dd7bb9cde
parentc0b6edef0bf0e33c12eaf80c676ff09def011518
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