Re: [PATCH][net-next] net/mlx5: Remove broken and unused mlx5_query_mtppse()

From: Gal Pressman

Date: Tue Jun 16 2026 - 01:28:59 EST


On 15/06/2026 17:04, lirongqing wrote:
> From: Li RongQing <lirongqing@xxxxxxxxx>
>
> mlx5_query_mtppse() reads the Event Trigger Pin (MTPPSE) register but
> reads the returned arm and mode values from the input buffer 'in'
> instead of the output buffer 'out', so it always returns the values
> that were written rather than the actual hardware state, making the
> query useless.
>
> The function has no in-tree callers. Remove it rather than fix it.
>
> Signed-off-by: Li RongQing <lirongqing@xxxxxxxxx>

Reviewed-by: Gal Pressman <gal@xxxxxxxxxx>