net/mlx5: CT: Remove unused variables
authorPaul Blakey <paulb@mellanox.com>
Tue, 14 Apr 2020 08:30:39 +0000 (11:30 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 30 Apr 2020 17:10:43 +0000 (10:10 -0700)
Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c

index 44f806e..5568ded 100644 (file)
@@ -73,9 +73,7 @@ struct mlx5_ct_ft {
 struct mlx5_ct_entry {
        u16 zone;
        struct rhash_head node;
-       struct flow_rule *flow_rule;
        struct mlx5_fc *counter;
-       unsigned long lastuse;
        unsigned long cookie;
        unsigned long restore_cookie;
        struct mlx5_ct_zone_rule zone_rules[2];
@@ -603,7 +601,6 @@ mlx5_tc_ct_block_flow_offload_add(struct mlx5_ct_ft *ft,
                return -ENOMEM;
 
        entry->zone = ft->zone;
-       entry->flow_rule = flow_rule;
        entry->cookie = flow->cookie;
        entry->restore_cookie = meta_action->ct_metadata.cookie;