Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Remove incorrect KASSERT.



details:   https://anonhg.NetBSD.org/src/rev/42d08ae86808
branches:  trunk
changeset: 790314:42d08ae86808
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Oct 03 13:19:24 2013 +0000

description:
Remove incorrect KASSERT.

diffstat:

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

diffs (27 lines):

diff -r 6fa69302483a -r 42d08ae86808 sys/dev/ic/sl811hs.c
--- a/sys/dev/ic/sl811hs.c      Thu Oct 03 12:53:29 2013 +0000
+++ b/sys/dev/ic/sl811hs.c      Thu Oct 03 13:19:24 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sl811hs.c,v 1.44 2013/10/02 23:27:50 skrll Exp $       */
+/*     $NetBSD: sl811hs.c,v 1.45 2013/10/03 13:19:24 skrll Exp $       */
 
 /*
  * Not (c) 2007 Matthew Orgass
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.44 2013/10/02 23:27:50 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.45 2013/10/03 13:19:24 skrll Exp $");
 
 #include "opt_slhci.h"
 
@@ -1497,8 +1497,6 @@
 
        sc = (struct slhci_softc *)arg;
 
-       KASSERT(mutex_owned(&sc->sc_lock));
-
        mutex_enter(&sc->sc_intr_lock);
        t = &sc->sc_transfers;
        DLOG(D_SOFT, "callback_entry flags %#x", t->flags, 0,0,0);



Home | Main Index | Thread Index | Old Index