usr.sbin/bhyve: initialize return value in xhci device interrupt handler
Coverity CID: 1357340 Approved by: scottl, markj Differential Revision: https://reviews.freebsd.org/D20917
This commit is contained in:
parent
2a1950b9cc
commit
cdd80cac4a
@ -2544,7 +2544,7 @@ pci_xhci_dev_intr(struct usb_hci *hci, int epctx)
|
||||
struct pci_xhci_softc *sc;
|
||||
struct pci_xhci_portregs *p;
|
||||
struct xhci_endp_ctx *ep_ctx;
|
||||
int error;
|
||||
int error = 0;
|
||||
int dir_in;
|
||||
int epid;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user