net/mlx5: Avoid incrementing FTE version

FTE version is not used anywhere in the code so avoid incrementing it.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
This commit is contained in:
Eli Cohen 2020-03-04 10:32:56 +02:00 committed by Saeed Mahameed
parent 454401aeb2
commit 0aad2a0b42
1 changed files with 0 additions and 1 deletions

View File

@ -1322,7 +1322,6 @@ add_rule_fte(struct fs_fte *fte,
fte->node.active = true;
fte->status |= FS_FTE_STATUS_EXISTING;
atomic_inc(&fte->node.version);
atomic_inc(&fg->node.version);
out: