[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3fefc2a4b2d1996f79a16e10a10f507e937c4023.camel@redhat.com>
Date: Thu, 01 Aug 2019 11:47:37 -0400
From: Doug Ledford <dledford@...hat.com>
To: Leon Romanovsky <leon@...nel.org>,
YueHaibing <yuehaibing@...wei.com>
Cc: oulijun@...wei.com, xavier.huwei@...wei.com, jgg@...pe.ca,
linux-kernel@...r.kernel.org, linux-rdma@...r.kernel.org
Subject: Re: [PATCH -next] RDMA/hns: remove set but not used variable
'irq_num'
On Thu, 2019-08-01 at 13:10 +0300, Leon Romanovsky wrote:
> On Wed, Jul 31, 2019 at 03:37:48PM +0800, YueHaibing wrote:
> > Fixes gcc '-Wunused-but-set-variable' warning:
> >
> > drivers/infiniband/hw/hns/hns_roce_hw_v2.c: In function
> > hns_roce_v2_cleanup_eq_table:
> > drivers/infiniband/hw/hns/hns_roce_hw_v2.c:5920:6:
> > warning: variable irq_num set but not used [-Wunused-but-set-
> > variable]
> >
> > It is not used since
> > commit 33db6f94847c ("RDMA/hns: Refactor eq table init for hip08")
> >
> > Reported-by: Hulk Robot <hulkci@...wei.com>
> > Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> > ---
> > drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 2 --
> > 1 file changed, 2 deletions(-)
> >
>
> I'm hitting this error too.
>
> Thanks,
> Reviewed-by: Leon Romanovsky <leonro@...lanox.com>
Applied to for-next, thanks.
--
Doug Ledford <dledford@...hat.com>
GPG KeyID: B826A3330E572FDD
Fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists