Re: [PATCH net-next] net/mlx5: remove redundant ret variable

From: Jiri Pirko
Date: Tue Dec 06 2022 - 08:21:35 EST


Mon, Dec 05, 2022 at 07:24:01AM CET, zhang.songyi@xxxxxxxxxx wrote:
>From: zhang songyi <zhang.songyi@xxxxxxxxxx>
>
>Return value from mlx5dr_send_postsend_action() directly instead of taking
>this in another redundant variable.
>
>Signed-off-by: zhang songyi <zhang.songyi@xxxxxxxxxx>

Reviewed-by: Jiri Pirko <jiri@xxxxxxxxxx>