]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/ata/ahci.c
Merge tag 'drm-intel-next-fixes-2016-12-07' of git://anongit.freedesktop.org/git...
[karo-tx-linux.git] / drivers / ata / ahci.c
index 9669fc7c19df7fe05b922daf25e0392677433e26..74f4c662f776ecf546d4c61a7de4190a61870b5c 100644 (file)
@@ -1436,13 +1436,6 @@ static int ahci_init_msi(struct pci_dev *pdev, unsigned int n_ports,
                                "ahci: MRSM is on, fallback to single MSI\n");
                        pci_free_irq_vectors(pdev);
                }
-
-               /*
-                * -ENOSPC indicated we don't have enough vectors.  Don't bother
-                * trying a single vectors for any other error:
-                */
-               if (nvec < 0 && nvec != -ENOSPC)
-                       return nvec;
        }
 
        /*