Commit 60551e95 authored by Anisse Astier's avatar Anisse Astier Committed by Saeed Mahameed

net/mlx5e: remove unused list in arfs

This is never used, and probably something that was intended to be used
before per-protocol hash tables were chosen instead.
Signed-off-by: default avatarAnisse Astier <anisse@astier.eu>
Reviewed-by: default avatarLeon Romanovsky <leonro@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
parent dd3dd726
...@@ -57,7 +57,6 @@ struct mlx5e_arfs_tables { ...@@ -57,7 +57,6 @@ struct mlx5e_arfs_tables {
struct arfs_table arfs_tables[ARFS_NUM_TYPES]; struct arfs_table arfs_tables[ARFS_NUM_TYPES];
/* Protect aRFS rules list */ /* Protect aRFS rules list */
spinlock_t arfs_lock; spinlock_t arfs_lock;
struct list_head rules;
int last_filter_id; int last_filter_id;
struct workqueue_struct *wq; struct workqueue_struct *wq;
}; };
...@@ -376,7 +375,6 @@ int mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs, ...@@ -376,7 +375,6 @@ int mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs,
return -ENOMEM; return -ENOMEM;
spin_lock_init(&arfs->arfs_lock); spin_lock_init(&arfs->arfs_lock);
INIT_LIST_HEAD(&arfs->rules);
arfs->wq = create_singlethread_workqueue("mlx5e_arfs"); arfs->wq = create_singlethread_workqueue("mlx5e_arfs");
if (!arfs->wq) if (!arfs->wq)
goto err; goto err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment