summaryrefslogtreecommitdiffstats
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2025-04-10 15:32:20 +0300
committerJason Gunthorpe <jgg@nvidia.com>2025-04-10 14:47:55 -0300
commitffc59e32c67e599cc473d6427a4aa584399d5b3c (patch)
treeecc0f59259fff45000c63a4942d7aeb077615fd0 /rust/helpers/workqueue.c
parent9a0e6f15029e1a8a21e40f06fd05aa52b7f063de (diff)
downloadlinux-ffc59e32c67e599cc473d6427a4aa584399d5b3c.tar.gz
linux-ffc59e32c67e599cc473d6427a4aa584399d5b3c.tar.bz2
linux-ffc59e32c67e599cc473d6427a4aa584399d5b3c.zip
RDMA/bnxt_re: Remove unusable nq variable
Remove nq variable from bnxt_re_create_srq() and bnxt_re_destroy_srq() as it generates the following compilation warnings: >> drivers/infiniband/hw/bnxt_re/ib_verbs.c:1777:24: warning: variable 'nq' set but not used [-Wunused-but-set-variable] 1777 | struct bnxt_qplib_nq *nq = NULL; | ^ drivers/infiniband/hw/bnxt_re/ib_verbs.c:1828:24: warning: variable 'nq' set but not used [-Wunused-but-set-variable] 1828 | struct bnxt_qplib_nq *nq = NULL; | ^ 2 warnings generated. Fixes: 6b395d31146a ("RDMA/bnxt_re: Fix budget handling of notification queue") Link: https://patch.msgid.link/r/8a4343e217d7d1c0a5a786b785c4ac57cb72a2a0.1744288299.git.leonro@nvidia.com Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202504091055.CzgXnk4C-lkp@intel.com/ Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions