Re: [PATCH net-next 02/12] net/mlx5: HWS, Remove unused element array

Michal Kubiak
2025-04-09T15:50:56Z

On Tue, Apr 08, 2025 at 05:00:46PM +0300, Tariq Toukan wrote:
> From: Vlad Dogaru <vdogaru@nvidia.com>
>
> Remove the array of elements wrapped in a struct because in reality only
> the first element was ever used.
>
> Signed-off-by: Vlad Dogaru <vdogaru@nvidia.com>
> Reviewed-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
> Reviewed-by: Mark Bloch <mbloch@nvidia.com>
> Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
> ---
> .../mellanox/mlx5/core/steering/hws/pool.c | 55 ++++++++-----------
> .../mellanox/mlx5/core/steering/hws/pool.h | 6 +-
> 2 files changed, 23 insertions(+), 38 deletions(-)
>

Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>