lkml.org 
[lkml]   [2023]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] RDMA/bnxt_re: remove unused num_srqne_processed and num_cqne_processed variables
Date

On Sat, 25 Mar 2023 10:05:59 -0400, Tom Rix 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.
>
> [...]

Applied, thanks!

[1/1] RDMA/bnxt_re: remove unused num_srqne_processed and num_cqne_processed variables
https://git.kernel.org/rdma/rdma/c/1b69f1e3d7449d

Best regards,
--
Leon Romanovsky <leon@kernel.org>

\
 
 \ /
  Last update: 2023-03-29 13:06    [W:3.406 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site