summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5
diff options
context:
space:
mode:
authorPetr Pavlu <petr.pavlu@suse.com>2022-09-29 13:45:08 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2022-11-29 21:09:42 -0800
commit12eb0f84a601cec8920b56d7ffd4182a6bfd6521 (patch)
treeb847e0b247e6b53eff07e48abc59b5705ed49399 /include/linux/mlx5
parent5df5365ae4f793ce2e555d7d836abde3f5bd55b4 (diff)
downloadlinux-12eb0f84a601cec8920b56d7ffd4182a6bfd6521.tar.bz2
net/mlx5: Remove unused ctx variables
Remove mlx5_priv.ctx_list and ctx_lock which are no longer used after commit 601c10c89cbb ("net/mlx5: Delete custom device management logic"). Signed-off-by: Petr Pavlu <petr.pavlu@suse.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include/linux/mlx5')
-rw-r--r--include/linux/mlx5/driver.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h
index 06cbad166225..d476255c9a3f 100644
--- a/include/linux/mlx5/driver.h
+++ b/include/linux/mlx5/driver.h
@@ -606,8 +606,6 @@ struct mlx5_priv {
struct list_head pgdir_list;
/* end: alloc staff */
- struct list_head ctx_list;
- spinlock_t ctx_lock;
struct mlx5_adev **adev;
int adev_idx;
int sw_vhca_id;