projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8139626
)
ioh3420: Remove unreachable code
author
Stefan Weil
<sw@weilnetz.de>
Sat, 1 Sep 2012 10:56:03 +0000
(12:56 +0200)
committer
Stefan Hajnoczi
<stefanha@gmail.com>
Sun, 23 Sep 2012 06:11:28 +0000
(07:11 +0100)
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>
hw/ioh3420.c
patch
|
blob
|
history
diff --git
a/hw/ioh3420.c
b/hw/ioh3420.c
index 94a537c9b395b75159ecc7b84498992b3d556b9c..4d314733b9f65a3b41f38f46027ea6577e603e53 100644
(file)
--- 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);