[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168008930265.1169130.1752490473855395346.b4-ty@kernel.org>
Date: Wed, 29 Mar 2023 14:28:22 +0300
From: Leon Romanovsky <leon@...nel.org>
To: selvin.xavier@...adcom.com, jgg@...pe.ca, nathan@...nel.org,
ndesaulniers@...gle.com, mgurtovoy@...dia.com,
Tom Rix <trix@...hat.com>
Cc: linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev
Subject: Re: [PATCH] RDMA/ocrdma: remove unused discard_cnt variable
On Sun, 26 Mar 2023 08:09:59 -0400, Tom Rix wrote:
> clang with W=1 reports
> drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:1592:6: error: variable
> 'discard_cnt' set but not used [-Werror,-Wunused-but-set-variable]
> int discard_cnt = 0;
> ^
> This variable is not used so remove it.
>
> [...]
Applied, thanks!
[1/1] RDMA/ocrdma: remove unused discard_cnt variable
https://git.kernel.org/rdma/rdma/c/cba968e33e5df0
Best regards,
--
Leon Romanovsky <leon@...nel.org>
Powered by blists - more mailing lists