We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28b0865 commit 9e71244Copy full SHA for 9e71244
drivers/infiniband/hw/bnxt_re/main.c
@@ -1009,7 +1009,6 @@ static void bnxt_re_free_res(struct bnxt_re_dev *rdev)
1009
static int bnxt_re_alloc_res(struct bnxt_re_dev *rdev)
1010
{
1011
struct bnxt_re_ring_attr rattr = {};
1012
- struct bnxt_qplib_ctx *qplib_ctx;
1013
int num_vec_created = 0;
1014
int rc = 0, i;
1015
u8 type;
@@ -1032,7 +1031,6 @@ static int bnxt_re_alloc_res(struct bnxt_re_dev *rdev)
1032
1031
if (rc)
1033
goto dealloc_res;
1034
1035
- qplib_ctx = &rdev->qplib_ctx;
1036
for (i = 0; i < rdev->num_msix - 1; i++) {
1037
struct bnxt_qplib_nq *nq;
1038
0 commit comments