mirror of
https://github.com/ipxe/ipxe.git
synced 2026-05-09 22:36:25 +02:00
[xhci] Avoid false positive Coverity warning
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
5aa389593d
commit
c42f31bc8a
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user