Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30278472 authored by Arvind Yadav's avatar Arvind Yadav Committed by Jason Gunthorpe
Browse files

RDMA/bnxt_re: Remove redundant bnxt_qplib_disable_nq() call



The bnxt_qplib_disable_nq() call is redundant as it occurs
after 'goto fail' and hence it called twice. Remove it.

Signed-off-by: default avatarArvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent e711f968
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -410,7 +410,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;
	}