aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSaeed Mahameed <saeedm@mellanox.com>2018-11-19 10:52:34 -0800
committerLeon Romanovsky <leonro@mellanox.com>2018-11-20 20:06:23 +0200
commitaaa553a64438640ee4e41a2c1027c3435a75c0e7 (patch)
tree26038f3c4509730d3b3495e701146f54358c9c49 /include
parentnet/mlx5: EQ, No need to store eq index as a field (diff)
downloadlinux-dev-aaa553a64438640ee4e41a2c1027c3435a75c0e7.tar.xz
linux-dev-aaa553a64438640ee4e41a2c1027c3435a75c0e7.zip
net/mlx5: EQ, Remove redundant completion EQ list lock
Completion EQs list is only modified on driver load/unload, locking is not required, remove it. Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mlx5/driver.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h
index 4b62d71825c1..852e397c7624 100644
--- a/include/linux/mlx5/driver.h
+++ b/include/linux/mlx5/driver.h
@@ -484,9 +484,6 @@ struct mlx5_eq_table {
struct mlx5_eq pfault_eq;
#endif
int num_comp_vectors;
- /* protect EQs list
- */
- spinlock_t lock;
};
struct mlx5_uars_page {