diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2018-11-19 10:52:34 -0800 |
---|---|---|
committer | Leon Romanovsky <leonro@mellanox.com> | 2018-11-20 20:06:23 +0200 |
commit | aaa553a64438640ee4e41a2c1027c3435a75c0e7 (patch) | |
tree | 26038f3c4509730d3b3495e701146f54358c9c49 /include | |
parent | 2883f352571b9b830561ca21b8a666936366a120 (diff) | |
download | linux-stable-aaa553a64438640ee4e41a2c1027c3435a75c0e7.tar.gz linux-stable-aaa553a64438640ee4e41a2c1027c3435a75c0e7.tar.bz2 linux-stable-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.h | 3 |
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 { |