Commit 0aad2a0b authored by Eli Cohen's avatar Eli Cohen Committed by Saeed Mahameed

net/mlx5: Avoid incrementing FTE version

FTE version is not used anywhere in the code so avoid incrementing it.
Signed-off-by: default avatarEli Cohen <eli@mellanox.com>
Reviewed-by: default avatarMark Bloch <markb@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent 454401ae
...@@ -1322,7 +1322,6 @@ add_rule_fte(struct fs_fte *fte, ...@@ -1322,7 +1322,6 @@ add_rule_fte(struct fs_fte *fte,
fte->node.active = true; fte->node.active = true;
fte->status |= FS_FTE_STATUS_EXISTING; fte->status |= FS_FTE_STATUS_EXISTING;
atomic_inc(&fte->node.version);
atomic_inc(&fg->node.version); atomic_inc(&fg->node.version);
out: out:
......
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