[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210607234607.GC840331@nvidia.com>
Date: Mon, 7 Jun 2021 20:46:07 -0300
From: Jason Gunthorpe <jgg@...dia.com>
To: Colin King <colin.king@...onical.com>
Cc: Mustafa Ismail <mustafa.ismail@...el.com>,
Shiraz Saleem <shiraz.saleem@...el.com>,
Doug Ledford <dledford@...hat.com>, linux-rdma@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] RDMA/irdma: remove redundant initialization of
variable val
On Sat, Jun 05, 2021 at 02:13:47PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The variable val is being initialized with a value that is never
> read, it is being updated later on. The assignment is redundant and
> can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> Acked-by: Shiraz Saleem <shiraz.saleem@...el.com>
> ---
> drivers/infiniband/hw/irdma/ctrl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to for-next, thanks
Jason
Powered by blists - more mailing lists