[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180306233419.GA8328@ziepe.ca>
Date: Tue, 6 Mar 2018 16:34:19 -0700
From: Jason Gunthorpe <jgg@...pe.ca>
To: Colin Ian King <colin.king@...onical.com>
Cc: Dennis Dalessandro <dennis.dalessandro@...el.com>,
Mike Marciniszyn <mike.marciniszyn@...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] infiniband: remove redundant assignment to pointer 'rdi'
On Thu, Mar 01, 2018 at 04:23:54PM +0000, Colin Ian King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The pointer rdi is being initialized with a value that is never read
> and re-assigned immediately after, hence the initialization is redundant
> and can be removed.
>
> Cleans up clang warning:
> drivers/infiniband/sw/rdmavt/vt.c:94:23: warning: Value stored to 'rdi'
> during its initialization is never read
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> drivers/infiniband/sw/rdmavt/vt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
applied to for-next, thanks
Jason
Powered by blists - more mailing lists