[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200228164405.GC7181@ziepe.ca>
Date: Fri, 28 Feb 2020 12:44:05 -0400
From: Jason Gunthorpe <jgg@...pe.ca>
To: YueHaibing <yuehaibing@...wei.com>
Cc: Selvin Xavier <selvin.xavier@...adcom.com>,
Devesh Sharma <devesh.sharma@...adcom.com>,
Somnath Kotur <somnath.kotur@...adcom.com>,
Sriharsha Basavapatna <sriharsha.basavapatna@...adcom.com>,
Doug Ledford <dledford@...hat.com>, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH -next] RDMA/bnxt_re: Remove set but not used variables
'pg' and 'idx'
On Thu, Feb 27, 2020 at 06:49:00AM +0000, YueHaibing wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/infiniband/hw/bnxt_re/qplib_rcfw.c: In function '__send_message':
> drivers/infiniband/hw/bnxt_re/qplib_rcfw.c:101:10: warning:
> variable 'idx' set but not used [-Wunused-but-set-variable]
> drivers/infiniband/hw/bnxt_re/qplib_rcfw.c:101:6: warning:
> variable 'pg' set but not used [-Wunused-but-set-variable]
>
> commit cee0c7bba486 ("RDMA/bnxt_re: Refactor command queue management code")
> involved this, but not used.
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> ---
> drivers/infiniband/hw/bnxt_re/qplib_rcfw.c | 4 ----
> 1 file changed, 4 deletions(-)
Applied to for-next, thanks
Jason
Powered by blists - more mailing lists