From: Roi Dayan Date: Tue, 17 Aug 2021 07:26:17 +0000 (+0300) Subject: net/mlx5e: Remove redundant priv arg from parse_pedit_to_reformat() X-Git-Tag: v6.1-rc5~2768^2~372^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1cc35b707ced869bdacbb04bf0f0bfb2a79070a4;p=platform%2Fkernel%2Flinux-starfive.git net/mlx5e: Remove redundant priv arg from parse_pedit_to_reformat() The priv argument is not being used. remove it. Signed-off-by: Roi Dayan Reviewed-by: Maor Dickman Signed-off-by: Saeed Mahameed --- diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c b/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c index c86fc59..0664ff7 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c @@ -2910,8 +2910,7 @@ out_err: } static int -parse_pedit_to_reformat(struct mlx5e_priv *priv, - const struct flow_action_entry *act, +parse_pedit_to_reformat(const struct flow_action_entry *act, struct mlx5e_tc_flow_parse_attr *parse_attr, struct netlink_ext_ack *extack) { @@ -2943,7 +2942,7 @@ static int parse_tc_pedit_action(struct mlx5e_priv *priv, struct netlink_ext_ack *extack) { if (flow && flow_flag_test(flow, L3_TO_L2_DECAP)) - return parse_pedit_to_reformat(priv, act, parse_attr, extack); + return parse_pedit_to_reformat(act, parse_attr, extack); return parse_pedit_to_modify_hdr(priv, act, namespace, parse_attr, hdrs, extack);