s390/pci: remove stale rc
authorSebastian Ott <sebott@linux.ibm.com>
Mon, 13 Aug 2018 09:27:23 +0000 (11:27 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 16 Aug 2018 12:49:12 +0000 (14:49 +0200)
Get rid of a leftover return code in arch_setup_msi_irqs.

Signed-off-by: Sebastian Ott <sebott@linux.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/pci/pci.c

index 8a505cf..9f6f392 100644 (file)
@@ -420,7 +420,6 @@ int arch_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type)
        /* Request MSI interrupts */
        hwirq = 0;
        for_each_pci_msi_entry(msi, pdev) {
-               rc = -EIO;
                if (hwirq >= msi_vecs)
                        break;
                irq = irq_alloc_desc(0);        /* Alloc irq on node 0 */