From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Date: Mon, 15 Jun 2020 18:39:12 +0000 Subject: Re: [PATCH][next] RDMA/mlx5: remove duplicated assignment to resp.response_length Message-Id: <20200615183912.GA2078450@ziepe.ca> List-Id: References: <20200604143902.56021-1-colin.king@canonical.com> In-Reply-To: <20200604143902.56021-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Colin King Cc: Leon Romanovsky , Doug Ledford , linux-rdma@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org 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") > Signed-off-by: Colin Ian King > Acked-by: Leon Romanovsky > --- > drivers/infiniband/hw/mlx5/qp.c | 2 -- > 1 file changed, 2 deletions(-) Applied to for-rc, with a fixes line Thanks, Jason