ioh3420: Remove unreachable code
PATCH 1/1 ioh3420: Remove unreachable code
Report from smatch:hw/ioh3420.c:128 ioh3420_initfn(35) info: ignoring unreachable code.
Signed-off-by Stefan Weil <[email protected]>
--- hw/ioh3420.c | 1 - 1 file changed, 1 deletion(-)
hw/ioh3420.c +0 -1
@@ -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
Quoted 4 lines · Stefan Weil
Report from smatch:
hw/ioh3420.c:128ioh3420_initfn(35)info: ignoring unreachable code.Signed-off-by Stefan Weil <[email protected]>
Reviewed-by Juan Quintela <[email protected]>
Stefan Hajnoczi
AppliedQuoted 7 lines · Stefan Weil
Report from smatch:
hw/ioh3420.c:128ioh3420_initfn(35)info: ignoring unreachable code.Signed-off-by Stefan Weil <[email protected]>--- hw/ioh3420.c | 1 - 1 file changed, 1 deletion(-)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan