diff options
| author | Leon Romanovsky <[email protected]> | 2020-04-19 16:20:46 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-04-22 17:05:13 -0300 |
| commit | 322f3d45a17f64494152bd5583b68c8855b539c0 (patch) | |
| tree | cc4aad9bdfee1645bbea5bfc78fc49dd1eba1def /tools/perf/scripts/python | |
| parent | 744b7bdfa79edb30bb7d5f9ae43b65e0d147533a (diff) | |
RDMA/bnxt: Delete 'nq_ptr' variable which is not used
The variable "nq_ptr" is set but never used, this generates the following
warning while compiling kernel with W=1 option.
drivers/infiniband/hw/bnxt_re/qplib_fp.c: In function 'bnxt_qplib_service_nq':
drivers/infiniband/hw/bnxt_re/qplib_fp.c:303:25: warning:
variable 'nq_ptr' set but not used [-Wunused-but-set-variable]
303 | struct nq_base *nqe, **nq_ptr;
|
Fixes: fddcbbb02af4 ("RDMA/bnxt_re: Simplify obtaining queue entry from hw ring")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions