summaryrefslogtreecommitdiff
path: root/arch/s390/pci
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.ibm.com>2018-08-13 12:27:23 +0300
committerHeiko Carstens <heiko.carstens@de.ibm.com>2018-08-16 15:49:12 +0300
commit38204071a024bb6b62e669e971799152809f1722 (patch)
tree6066337e314b33b05f9e3a39531fa8bfb7335358 /arch/s390/pci
parent866f3576a72b2233a76dffb80290f8086dc49e17 (diff)
downloadlinux-38204071a024bb6b62e669e971799152809f1722.tar.xz
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/pci')
-rw-r--r--arch/s390/pci/pci.c1
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 */