Commit b97653d8 authored by Roi Dayan's avatar Roi Dayan Committed by Saeed Mahameed

net/mlx5e: TC, Remove redundant parse_attr argument

The parse_attr argument is not being used in
actions_match_supported_fdb(). remove it.
Signed-off-by: default avatarRoi Dayan <roid@nvidia.com>
Reviewed-by: default avatarPaul Blakey <paulb@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
parent 197c0002
...@@ -3678,7 +3678,6 @@ static bool modify_header_match_supported(struct mlx5e_priv *priv, ...@@ -3678,7 +3678,6 @@ static bool modify_header_match_supported(struct mlx5e_priv *priv,
static bool static bool
actions_match_supported_fdb(struct mlx5e_priv *priv, actions_match_supported_fdb(struct mlx5e_priv *priv,
struct mlx5e_tc_flow_parse_attr *parse_attr,
struct mlx5e_tc_flow *flow, struct mlx5e_tc_flow *flow,
struct netlink_ext_ack *extack) struct netlink_ext_ack *extack)
{ {
...@@ -3727,7 +3726,7 @@ actions_match_supported(struct mlx5e_priv *priv, ...@@ -3727,7 +3726,7 @@ actions_match_supported(struct mlx5e_priv *priv,
return false; return false;
if (mlx5e_is_eswitch_flow(flow) && if (mlx5e_is_eswitch_flow(flow) &&
!actions_match_supported_fdb(priv, parse_attr, flow, extack)) !actions_match_supported_fdb(priv, flow, extack))
return false; return false;
return true; return true;
......
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