Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic fix build



details:   https://anonhg.NetBSD.org/src/rev/87ee9bca12ed
branches:  trunk
changeset: 345169:87ee9bca12ed
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed May 11 06:07:52 2016 +0000

description:
fix build

diffstat:

 sys/dev/ic/sl811hs.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r 000e96047634 -r 87ee9bca12ed sys/dev/ic/sl811hs.c
--- a/sys/dev/ic/sl811hs.c      Wed May 11 05:12:57 2016 +0000
+++ b/sys/dev/ic/sl811hs.c      Wed May 11 06:07:52 2016 +0000
@@ -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 @@
        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",



Home | Main Index | Thread Index | Old Index