Module Name:    src
Committed By:   rmind
Date:           Sun Apr 17 20:37:43 UTC 2011

Modified Files:
        src/sys/kern: uipc_sem.c

Log Message:
ksem_free: remove wrong assert.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/kern/uipc_sem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/uipc_sem.c
diff -u src/sys/kern/uipc_sem.c:1.34 src/sys/kern/uipc_sem.c:1.35
--- src/sys/kern/uipc_sem.c:1.34	Sat Apr 16 20:39:18 2011
+++ src/sys/kern/uipc_sem.c	Sun Apr 17 20:37:43 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: uipc_sem.c,v 1.34 2011/04/16 20:39:18 rmind Exp $	*/
+/*	$NetBSD: uipc_sem.c,v 1.35 2011/04/17 20:37:43 rmind Exp $	*/
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uipc_sem.c,v 1.34 2011/04/16 20:39:18 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_sem.c,v 1.35 2011/04/17 20:37:43 rmind Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -312,7 +312,6 @@
 ksem_free(ksem_t *ks)
 {
 
-	KASSERT(ks->ks_ref == 0);
 	KASSERT(!cv_has_waiters(&ks->ks_cv));
 
 	if (ks->ks_name) {

Reply via email to