From: Gal Pressman Date: Mon, 3 Feb 2025 21:35:15 +0000 (+0200) Subject: net/mlx5e: Remove unused mlx5e_tc_flow_action struct X-Git-Tag: v6.15-rc1~160^2~390^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=96d64a1ab79516d6e19aa2c0d42b02251d8694ce;p=thirdparty%2Fkernel%2Flinux.git net/mlx5e: Remove unused mlx5e_tc_flow_action struct Commit 67efaf45930d ("net/mlx5e: TC, Remove CT action reordering") removed the usage of mlx5e_tc_flow_action struct, remove the struct as well. Signed-off-by: Gal Pressman Reviewed-by: Cosmin Ratiu Signed-off-by: Tariq Toukan Reviewed-by: Kalesh AP Signed-off-by: Paolo Abeni --- diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/act.h b/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/act.h index d6c12d0ea55ba..2e528b2c34d64 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/act.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/act.h @@ -73,11 +73,6 @@ struct mlx5e_tc_act { bool is_terminating_action; }; -struct mlx5e_tc_flow_action { - unsigned int num_entries; - struct flow_action_entry **entries; -}; - extern struct mlx5e_tc_act mlx5e_tc_act_drop; extern struct mlx5e_tc_act mlx5e_tc_act_trap; extern struct mlx5e_tc_act mlx5e_tc_act_accept;