diff options
| author | Leon Romanovsky <[email protected]> | 2025-04-10 12:32:20 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2025-04-10 17:47:55 +0000 |
| commit | ffc59e32c67e599cc473d6427a4aa584399d5b3c (patch) | |
| tree | ecc0f59259fff45000c63a4942d7aeb077615fd0 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | RDMA/core: Silence oversized kvmalloc() warning (diff) | |
| download | kernel-ffc59e32c67e599cc473d6427a4aa584399d5b3c.tar.gz kernel-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 <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
