Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern ksem_free: remove wrong assert.
details: https://anonhg.NetBSD.org/src/rev/708e0c5007c1
branches: trunk
changeset: 764359:708e0c5007c1
user: rmind <rmind%NetBSD.org@localhost>
date: Sun Apr 17 20:37:43 2011 +0000
description:
ksem_free: remove wrong assert.
diffstat:
sys/kern/uipc_sem.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 9ddffe562543 -r 708e0c5007c1 sys/kern/uipc_sem.c
--- a/sys/kern/uipc_sem.c Sun Apr 17 15:14:59 2011 +0000
+++ b/sys/kern/uipc_sem.c Sun Apr 17 20:37:43 2011 +0000
@@ -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) {
Home |
Main Index |
Thread Index |
Old Index