linux/drivers/infiniband/hw
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
..
bnxt_re RDMA/bnxt_re: Remove unusable nq variable 2025-04-10 14:47:55 -03:00
cxgb4 treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
efa RDMA/efa: Align interrupt related fields to same type 2025-01-06 08:24:33 -05:00
erdma RDMA/erdma: Prevent use-after-free in erdma_accept_newconn() 2025-03-06 08:25:38 -05:00
hfi1 treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
hns RDMA/hns: Fix wrong maximum DMA segment size 2025-04-07 15:30:09 -03:00
irdma treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
mana RDMA v6.15 merge window pull request 2025-03-29 11:12:28 -07:00
mlx4 RDMA/mlx4: Support report_port_event() ops 2024-12-25 03:39:46 -05:00
mlx5 RDMA/mlx5: Fix compilation warning when USER_ACCESS isn't set 2025-04-07 15:14:34 -03:00
mthca treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
ocrdma RDMA/ocrdma: Don't inline statistics functions 2024-07-11 13:25:11 +03:00
qedr
qib treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
usnic RDMA/usnic: Fix passing zero to PTR_ERR in usnic_ib_pci_probe() 2025-04-07 15:08:32 -03:00
vmw_pvrdma RDMA/vmw_pvrdma: Remove unused pvrdma_modify_device 2025-03-06 03:24:59 -05:00
Makefile RDMA/hns: Clean up the legacy CONFIG_INFINIBAND_HNS 2025-01-06 08:41:06 -05:00