Re: [PATCH net-next 02/12] net/mlx5: HWS, Remove unused element array
From: Michal Kubiak
Date: Wed Apr 09 2025 - 12:01:39 EST
On Tue, Apr 08, 2025 at 05:00:46PM +0300, Tariq Toukan wrote:
> From: Vlad Dogaru <vdogaru@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Reviewed-by: Yevgeny Kliteynik <kliteyn@xxxxxxxxxx>
> Reviewed-by: Mark Bloch <mbloch@xxxxxxxxxx>
> Signed-off-by: Tariq Toukan <tariqt@xxxxxxxxxx>
> ---
> .../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@xxxxxxxxx>