|
@@ -1014,8 +1014,7 @@ static int __mthca_init_one(struct pci_dev *pdev, int hca_type)
|
|
|
|
|
|
err = mthca_setup_hca(mdev);
|
|
|
if (err == -EBUSY && (mdev->mthca_flags & MTHCA_FLAG_MSI_X)) {
|
|
|
- if (mdev->mthca_flags & MTHCA_FLAG_MSI_X)
|
|
|
- pci_free_irq_vectors(pdev);
|
|
|
+ pci_free_irq_vectors(pdev);
|
|
|
mdev->mthca_flags &= ~MTHCA_FLAG_MSI_X;
|
|
|
|
|
|
err = mthca_setup_hca(mdev);
|