[xhci] Avoid false positive Coverity warning

Signed-off-by: Michael Brown <mcb30@ipxe.org>
pull/204/head
Michael Brown 2021-01-04 09:37:59 +00:00
parent 5aa389593d
commit c42f31bc8a
1 changed files with 1 additions and 1 deletions

View File

@ -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;