OSDN Git Service

net/mlx5: Delete device list leftover
authorLeon Romanovsky <leonro@nvidia.com>
Mon, 4 Jan 2021 07:38:57 +0000 (09:38 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 11 Feb 2021 04:47:12 +0000 (20:47 -0800)
Device list is not stored in mlx5_priv anymore, so delete it as it's not
used.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
include/linux/mlx5/driver.h

index 88197b8..936302b 100644 (file)
@@ -588,7 +588,6 @@ struct mlx5_priv {
        /* end: alloc staff */
        struct dentry          *dbg_root;
 
-       struct list_head        dev_list;
        struct list_head        ctx_list;
        spinlock_t              ctx_lock;
        struct mlx5_adev       **adev;