Skip to contentSkip to conversation

ioh3420: Remove unreachable code

PATCH Applied Stefan Weil 3 participants 3 messages Sep 1, 2012 – Sep 22, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ioh3420: Remove unreachable code

Report from smatch:
hw/ioh3420.c:128 ioh3420_initfn(35) info: ignoring unreachable code.

---
 hw/ioh3420.c |    1 -
 1 file changed, 1 deletion(-)
hw/ioh3420.c +0 -1
index 94a537c..4d31473 100644
@@ -125,7 +125,6 @@ static int ioh3420_initfn(PCIDevice *d)
     rc = pcie_chassis_add_slot(s);
     if (rc < 0) {
         goto err_pcie_cap;
-        return rc;
     }
     pcie_cap_root_init(d);
     rc = pcie_aer_init(d, IOH_EP_AER_OFFSET);
Signature · 1 line
1.7.10