diff options
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ic/sl811hs.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/ic/sl811hs.c b/sys/dev/ic/sl811hs.c index e3d565ec325..e1432f91379 100644 --- a/sys/dev/ic/sl811hs.c +++ b/sys/dev/ic/sl811hs.c @@ -1,4 +1,4 @@ -/* $NetBSD: sl811hs.c,v 1.60 2016/05/10 21:15:54 skrll Exp $ */ +/* $NetBSD: sl811hs.c,v 1.61 2016/05/11 06:07:52 skrll Exp $ */ /* * Not (c) 2007 Matthew Orgass @@ -68,7 +68,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.60 2016/05/10 21:15:54 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.61 2016/05/11 06:07:52 skrll Exp $"); #include "opt_slhci.h" @@ -1296,15 +1296,12 @@ slhci_abort(struct usbd_xfer *xfer) struct slhci_softc *sc; struct slhci_pipe *spipe; - KASSERT(mutex_owned(&sc->sc_lock)); - spipe = SLHCI_PIPE2SPIPE(xfer->ux_pipe); if (spipe == NULL) goto callback; sc = SLHCI_XFER2SC(xfer); - KASSERT(mutex_owned(&sc->sc_lock)); DLOG(D_TRACE, "%s abort xfer %p spipe %p spipe->xfer %p", |
