[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+sbYW0hyYmB1cA_Ai0uEYiccra9eL-RGpXwgi9+9+Akj4ksEQ@mail.gmail.com>
Date: Sun, 26 Mar 2023 07:00:08 +0530
From: Selvin Xavier <selvin.xavier@...adcom.com>
To: Tom Rix <trix@...hat.com>
Cc: jgg@...pe.ca, leon@...nel.org, nathan@...nel.org,
ndesaulniers@...gle.com, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org, llvm@...ts.linux.dev
Subject: Re: [PATCH] RDMA/bnxt_re: remove unused num_srqne_processed and
num_cqne_processed variables
On Sat, Mar 25, 2023 at 7:36 PM Tom Rix <trix@...hat.com> wrote:
>
> clang with W=1 reports
> drivers/infiniband/hw/bnxt_re/qplib_fp.c:303:6: error: variable
> 'num_srqne_processed' set but not used [-Werror,-Wunused-but-set-variable]
> int num_srqne_processed = 0;
> ^
> drivers/infiniband/hw/bnxt_re/qplib_fp.c:304:6: error: variable
> 'num_cqne_processed' set but not used [-Werror,-Wunused-but-set-variable]
> int num_cqne_processed = 0;
> ^
> These variables are not used so remove them.
>
> Signed-off-by: Tom Rix <trix@...hat.com>
Acked-by: Selvin Xavier <selvin.xavier@...adcom.com>
Download attachment "smime.p7s" of type "application/pkcs7-signature" (4224 bytes)
Powered by blists - more mailing lists