[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168054624148.6296.6352837498286911660.b4-ty@kernel.org>
Date: Mon, 03 Apr 2023 21:24:01 +0300
From: Leon Romanovsky <leon@...nel.org>
To: dennis.dalessandro@...nelisnetworks.com, jgg@...pe.ca,
nathan@...nel.org, ndesaulniers@...gle.com,
Tom Rix <trix@...hat.com>
Cc: linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev
Subject: Re: [PATCH] IB/qib: remove unused cnt variable
On Thu, 30 Mar 2023 19:58:00 -0400, Tom Rix wrote:
> clang with W=1 reports
> drivers/infiniband/hw/qib/qib_file_ops.c:487:20: error: variable
> 'cnt' set but not used [-Werror,-Wunused-but-set-variable]
> u32 tid, ctxttid, cnt, limit, tidcnt;
> ^
> drivers/infiniband/hw/qib/qib_file_ops.c:1771:9: error: variable
> 'cnt' set but not used [-Werror,-Wunused-but-set-variable]
> int i, cnt = 0, maxtid = ctxt_tidbase + dd->rcvtidcnt;
> ^
> This variable is not used so remove it.
>
> [...]
Applied, thanks!
[1/1] IB/qib: remove unused cnt variable
https://git.kernel.org/rdma/rdma/c/e7706c4bbfe88f
Best regards,
--
Leon Romanovsky <leon@...nel.org>
Powered by blists - more mailing lists