mirror of
https://github.com/ipxe/ipxe
synced 2025-12-20 20:10:18 +03:00
[xhci] Avoid false positive Coverity warning
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -1814,7 +1814,7 @@ static int xhci_command ( struct xhci_device *xhci, union xhci_trb *trb ) {
|
|||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
/* Sanity check */
|
/* Sanity check */
|
||||||
if ( xhci->pending != NULL ) {
|
if ( xhci->pending ) {
|
||||||
DBGC ( xhci, "XHCI %s command ring busy\n", xhci->name );
|
DBGC ( xhci, "XHCI %s command ring busy\n", xhci->name );
|
||||||
rc = -EBUSY;
|
rc = -EBUSY;
|
||||||
goto err_pending;
|
goto err_pending;
|
||||||
|
|||||||
Reference in New Issue
Block a user