From: Arvind Yadav <arvind.yadav.cs@gmail.com>
Date: Tue, 14 Nov 2017 18:20:56 +0530
Subject: RDMA/bnxt_re: Remove redundant bnxt_qplib_disable_nq() call
Patch-mainline: v4.16-rc1
Git-commit: 302784729e7fb29d5888686fe83b42bb18f81ab8
References: bsc#1086283 FATE#324874
The bnxt_qplib_disable_nq() call is redundant as it occurs
after 'goto fail' and hence it called twice. Remove it.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Acked-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
---
drivers/infiniband/hw/bnxt_re/qplib_fp.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/infiniband/hw/bnxt_re/qplib_fp.c
+++ b/drivers/infiniband/hw/bnxt_re/qplib_fp.c
@@ -415,7 +415,6 @@ int bnxt_qplib_enable_nq(struct pci_dev
if (rc) {
dev_err(&nq->pdev->dev,
"Failed to request IRQ for NQ: %#x", rc);
- bnxt_qplib_disable_nq(nq);
goto fail;
}