linux/drivers/infiniband/hw/bnxt_re
Leon Romanovsky ffc59e32c6 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: 6b395d3114 ("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>
2025-04-10 14:47:55 -03:00
..
Kconfig
Makefile RDMA/bnxt_re: Add debugfs hook in the driver 2024-11-04 06:53:06 -05:00
bnxt_re.h RDMA v6.15 merge window pull request 2025-03-29 11:12:28 -07:00
debugfs.c RDMA/bnxt_re: Fix the condition check while programming congestion control 2025-02-09 04:59:05 -05:00
debugfs.h RDMA/bnxt_re: Congestion control settings using debugfs hook 2025-02-04 08:27:03 -05:00
hw_counters.c RDMA v6.15 merge window pull request 2025-03-29 11:12:28 -07:00
hw_counters.h bnxt_re: Update the debug counters for doorbell pacing 2023-07-30 14:37:04 +03:00
ib_verbs.c RDMA/bnxt_re: Remove unusable nq variable 2025-04-10 14:47:55 -03:00
ib_verbs.h RDMA/bnxt_re: Support perf management counters 2025-03-13 08:56:57 -04:00
main.c RDMA v6.15 merge window pull request 2025-03-29 11:12:28 -07:00
qplib_fp.c RDMA/bnxt_re: Avoid clearing VLAN_ID mask in modify qp path 2025-03-12 09:51:06 -04:00
qplib_fp.h RDMA v6.14 merge window pull request 2025-01-24 12:21:28 -08:00
qplib_rcfw.c - The 7 patch series "powerpc/crash: use generic crashkernel 2025-04-01 10:06:52 -07:00
qplib_rcfw.h RDMA/bnxt_re: Add missing paranthesis in map_qp_id_to_tbl_indx 2025-03-03 14:18:04 -05:00
qplib_res.c RDMA/bnxt_re: Fix allocation of QP table 2025-03-03 14:18:04 -05:00
qplib_res.h RDMA/bnxt_re: Fix reporting maximum SRQs on P7 chips 2025-03-03 14:18:04 -05:00
qplib_sp.c RDMA/bnxt_re: Fix reporting maximum SRQs on P7 chips 2025-03-03 14:18:04 -05:00
qplib_sp.h RDMA/bnxt_re: Allocate dev_attr information dynamically 2025-01-14 06:22:10 -05:00
qplib_tlv.h IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
roce_hsi.h RDMA/bnxt_re: Fix reporting maximum SRQs on P7 chips 2025-03-03 14:18:04 -05:00