ioh3420: Remove unreachable code
Report from smatch: hw/ioh3420.c:128 ioh3420_initfn(35) info: ignoring unreachable code. Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
This commit is contained in:
parent
8139626643
commit
997f15672a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user