X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fata%2Fahci.c;h=74f4c662f776ecf546d4c61a7de4190a61870b5c;hb=3eff97b2d6d06fa381f456e5a786d576d62eb95e;hp=9669fc7c19df7fe05b922daf25e0392677433e26;hpb=7b624ad8fea1be7ff4c22643e212191aa6a2a3c2;p=karo-tx-linux.git diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 9669fc7c19df..74f4c662f776 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -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; } /*