diff options
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c b/drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c index eed7101e8bb7..acd946f2ddbe 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c | |||
@@ -399,10 +399,10 @@ add_ethtool_flow_rule(struct mlx5e_priv *priv, | |||
399 | struct mlx5_flow_table *ft, | 399 | struct mlx5_flow_table *ft, |
400 | struct ethtool_rx_flow_spec *fs) | 400 | struct ethtool_rx_flow_spec *fs) |
401 | { | 401 | { |
402 | struct mlx5_flow_act flow_act = { .flags = FLOW_ACT_NO_APPEND }; | ||
402 | struct mlx5_flow_destination *dst = NULL; | 403 | struct mlx5_flow_destination *dst = NULL; |
403 | struct mlx5_flow_act flow_act = {0}; | ||
404 | struct mlx5_flow_spec *spec; | ||
405 | struct mlx5_flow_handle *rule; | 404 | struct mlx5_flow_handle *rule; |
405 | struct mlx5_flow_spec *spec; | ||
406 | int err = 0; | 406 | int err = 0; |
407 | 407 | ||
408 | spec = kvzalloc(sizeof(*spec), GFP_KERNEL); | 408 | spec = kvzalloc(sizeof(*spec), GFP_KERNEL); |