mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
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
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue