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:
Sean Chittenden 2019-07-11 19:26:35 +00:00
parent 2a1950b9cc
commit cdd80cac4a

View File

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