diff options
author | Sebastian Ott <sebott@linux.ibm.com> | 2018-08-13 11:27:23 +0200 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2018-08-16 14:49:12 +0200 |
commit | 38204071a024bb6b62e669e971799152809f1722 (patch) | |
tree | 6066337e314b33b05f9e3a39531fa8bfb7335358 /arch/s390 | |
parent | 866f3576a72b2233a76dffb80290f8086dc49e17 (diff) | |
download | linux-38204071a024bb6b62e669e971799152809f1722.tar.bz2 |
s390/pci: remove stale rc
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>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/pci/pci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/s390/pci/pci.c b/arch/s390/pci/pci.c index 8a505cfdd9b9..9f6f392a4461 100644 --- a/arch/s390/pci/pci.c +++ b/arch/s390/pci/pci.c @@ -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 */ |