net/mlx5e: CT: Remove unused function param
"flow" parameter is not used in __mlx5_tc_ct_flow_offload_clear(), remove it. Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com>
This commit is contained in:
parent
2acc4551d4
commit
de96d5732a
|
@ -1571,7 +1571,6 @@ err_ft:
|
|||
|
||||
static struct mlx5_flow_handle *
|
||||
__mlx5_tc_ct_flow_offload_clear(struct mlx5e_priv *priv,
|
||||
struct mlx5e_tc_flow *flow,
|
||||
struct mlx5_flow_spec *orig_spec,
|
||||
struct mlx5_esw_flow_attr *attr,
|
||||
struct mlx5e_tc_mod_hdr_acts *mod_acts)
|
||||
|
@ -1648,7 +1647,7 @@ mlx5_tc_ct_flow_offload(struct mlx5e_priv *priv,
|
|||
mutex_lock(&ct_priv->control_lock);
|
||||
|
||||
if (clear_action)
|
||||
rule = __mlx5_tc_ct_flow_offload_clear(priv, flow, spec, attr, mod_hdr_acts);
|
||||
rule = __mlx5_tc_ct_flow_offload_clear(priv, spec, attr, mod_hdr_acts);
|
||||
else
|
||||
rule = __mlx5_tc_ct_flow_offload(priv, flow, spec, attr);
|
||||
mutex_unlock(&ct_priv->control_lock);
|
||||
|
|
Loading…
Reference in New Issue