mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] RDMA/bnxt_re: Remove redundant bnxt_qplib_disable_nq() call
@ 2017-11-14 12:50 Arvind Yadav
  2017-12-13 17:37 ` Jason Gunthorpe
  0 siblings, 1 reply; 4+ messages in thread
From: Arvind Yadav @ 2017-11-14 12:50 UTC (permalink / raw)
  To: selvin.xavier, devesh.sharma, somnath.kotur,
	sriharsha.basavapatna, dledford, sean.hefty, hal.rosenstock
  Cc: linux-kernel, linux-rdma

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>
---
 drivers/infiniband/hw/bnxt_re/qplib_fp.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/infiniband/hw/bnxt_re/qplib_fp.c b/drivers/infiniband/hw/bnxt_re/qplib_fp.c
index e8afc47..bb7cf5e 100644
--- a/drivers/infiniband/hw/bnxt_re/qplib_fp.c
+++ b/drivers/infiniband/hw/bnxt_re/qplib_fp.c
@@ -409,7 +409,6 @@ int bnxt_qplib_enable_nq(struct pci_dev *pdev, struct bnxt_qplib_nq *nq,
 	if (rc) {
 		dev_err(&nq->pdev->dev,
 			"Failed to request IRQ for NQ: %#x", rc);
-		bnxt_qplib_disable_nq(nq);
 		goto fail;
 	}
 
-- 
1.9.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-12-19 11:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-14 12:50 [PATCH] RDMA/bnxt_re: Remove redundant bnxt_qplib_disable_nq() call Arvind Yadav
2017-12-13 17:37 ` Jason Gunthorpe
2017-12-19 11:10   ` Devesh Sharma
2017-12-19 11:17     ` Leon Romanovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®