Re: [PATCH][next] RDMA/mlx5: remove duplicated assignment to resp.response_length

From: Leon Romanovsky
Date: Sun Jun 07 2020 - 02:40:23 EST


On Thu, Jun 04, 2020 at 03:39:02PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The assignment to resp.response_length is never read since it is being
> updated again on the next statement. The assignment is redundant so
> removed it.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> ---
> drivers/infiniband/hw/mlx5/qp.c | 2 --
> 1 file changed, 2 deletions(-)
>

Thanks,
Acked-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>