mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
ehci-dbgp: drop dead code.
We can only reach this spot by breaking out of the scan loop, so by construction ret > 0. Coverity CID 1055259 Signed-off-by: Tim Deegan <tim@xen.org> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
803f9a6cdf
commit
bc230d5dca
1 file changed
-5
@@ -946,11 +946,6 @@ try_again:
|
||||
dbgp_printk("could not find attached debug device\n");
|
||||
goto err;
|
||||
}
|
||||
if ( ret < 0 )
|
||||
{
|
||||
dbgp_printk("attached device is not a debug device\n");
|
||||
goto err;
|
||||
}
|
||||
dbgp->out.endpoint = dbgp_desc.bDebugOutEndpoint;
|
||||
dbgp->in.endpoint = dbgp_desc.bDebugInEndpoint;
|
||||
|
||||
|
||||