Commit d2658b4a authored by Paul Blakey's avatar Paul Blakey Committed by Saeed Mahameed

net/mlx5: CT: Remove unused variables

Signed-off-by: default avatarPaul Blakey <paulb@mellanox.com>
Reviewed-by: default avatarOz Shlomo <ozsh@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent 70a5698a
...@@ -73,9 +73,7 @@ struct mlx5_ct_ft { ...@@ -73,9 +73,7 @@ struct mlx5_ct_ft {
struct mlx5_ct_entry { struct mlx5_ct_entry {
u16 zone; u16 zone;
struct rhash_head node; struct rhash_head node;
struct flow_rule *flow_rule;
struct mlx5_fc *counter; struct mlx5_fc *counter;
unsigned long lastuse;
unsigned long cookie; unsigned long cookie;
unsigned long restore_cookie; unsigned long restore_cookie;
struct mlx5_ct_zone_rule zone_rules[2]; struct mlx5_ct_zone_rule zone_rules[2];
...@@ -603,7 +601,6 @@ mlx5_tc_ct_block_flow_offload_add(struct mlx5_ct_ft *ft, ...@@ -603,7 +601,6 @@ mlx5_tc_ct_block_flow_offload_add(struct mlx5_ct_ft *ft,
return -ENOMEM; return -ENOMEM;
entry->zone = ft->zone; entry->zone = ft->zone;
entry->flow_rule = flow_rule;
entry->cookie = flow->cookie; entry->cookie = flow->cookie;
entry->restore_cookie = meta_action->ct_metadata.cookie; entry->restore_cookie = meta_action->ct_metadata.cookie;
......
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