提交 0aad2a0b 编写于 作者: E Eli Cohen 提交者: Saeed Mahameed

net/mlx5: Avoid incrementing FTE version

FTE version is not used anywhere in the code so avoid incrementing it.
Signed-off-by: NEli Cohen <eli@mellanox.com>
Reviewed-by: NMark Bloch <markb@mellanox.com>
Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
上级 454401ae
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册