mirror of https://github.com/torvalds/linux.git
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:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| bnxt_re.h | ||
| debugfs.c | ||
| debugfs.h | ||
| hw_counters.c | ||
| hw_counters.h | ||
| ib_verbs.c | ||
| ib_verbs.h | ||
| main.c | ||
| qplib_fp.c | ||
| qplib_fp.h | ||
| qplib_rcfw.c | ||
| qplib_rcfw.h | ||
| qplib_res.c | ||
| qplib_res.h | ||
| qplib_sp.c | ||
| qplib_sp.h | ||
| qplib_tlv.h | ||
| roce_hsi.h | ||