diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-09-01 12:56:03 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@gmail.com> | 2012-09-23 07:11:28 +0100 |
commit | 997f15672a5ca7714cf310d92f475d2c5fe40970 (patch) | |
tree | f4db99f767f0a95c96016d261ba662a3b9c5a4de /hw/ioh3420.c | |
parent | 8139626643cbe8dc07bd9acc88057effeedf8064 (diff) |
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>
Diffstat (limited to 'hw/ioh3420.c')
-rw-r--r-- | hw/ioh3420.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/ioh3420.c b/hw/ioh3420.c index 94a537c9b3..4d314733b9 100644 --- a/hw/ioh3420.c +++ b/hw/ioh3420.c @@ -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); |