Re: [PATCH] RDMA/bnxt_re: remove unused num_srqne_processed and num_cqne_processed variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 25, 2023 at 7:36 PM Tom Rix <trix@xxxxxxxxxx> 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@xxxxxxxxxx>
Acked-by: Selvin Xavier <selvin.xavier@xxxxxxxxxxxx>

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux