mirror of
https://github.com/ipxe/ipxe
synced 2025-12-20 03:55:46 +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;
|
||||
|
||||
/* Sanity check */
|
||||
if ( xhci->pending != NULL ) {
|
||||
if ( xhci->pending ) {
|
||||
DBGC ( xhci, "XHCI %s command ring busy\n", xhci->name );
|
||||
rc = -EBUSY;
|
||||
goto err_pending;
|
||||
|
||||
Reference in New Issue
Block a user