net/mlx5e: CT: Remove unused function param
authorSaeed Mahameed <saeedm@mellanox.com>
Mon, 4 May 2020 22:53:06 +0000 (15:53 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 10 Jul 2020 02:51:16 +0000 (19:51 -0700)
"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>
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c

index 709ad0012c24360b7f137a33d43486b1b35cdec2..96225e897064d4702c5f4220849e269c8251d74a 100644 (file)
@@ -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);