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

2020-06-15 Thread Jason Gunthorpe
On Thu, Jun 04, 2020 at 03:39:02PM +0100, Colin King wrote: > From: Colin Ian King > > 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") >

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

2020-06-07 Thread Leon Romanovsky
On Thu, Jun 04, 2020 at 03:39:02PM +0100, Colin King wrote: > From: Colin Ian King > > 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") >

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

2020-06-04 Thread Colin King
From: Colin Ian King 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 --- drivers/infiniband/hw/mlx5/qp.c | 2 -- 1 file