Module Name:    src
Committed By:   riastradh
Date:           Tue Apr 14 13:15:36 UTC 2015

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

Log Message:
Omit unused rndpool_cv.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/kern/kern_rndq.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/kern_rndq.c
diff -u src/sys/kern/kern_rndq.c:1.56 src/sys/kern/kern_rndq.c:1.57
--- src/sys/kern/kern_rndq.c:1.56	Tue Apr 14 13:12:33 2015
+++ src/sys/kern/kern_rndq.c	Tue Apr 14 13:15:36 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: kern_rndq.c,v 1.56 2015/04/14 13:12:33 riastradh Exp $	*/
+/*	$NetBSD: kern_rndq.c,v 1.57 2015/04/14 13:15:36 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 1997-2013 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_rndq.c,v 1.56 2015/04/14 13:12:33 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_rndq.c,v 1.57 2015/04/14 13:15:36 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -134,7 +134,6 @@ static pool_cache_t rnd_mempc;
  */
 static rndpool_t rnd_pool;
 static kmutex_t  rndpool_mtx;
-static kcondvar_t rndpool_cv;
 
 /*
  * This source is used to easily "remove" queue entries when the source
@@ -514,7 +513,6 @@ rnd_init(void)
 
 	rndpool_init(&rnd_pool);
 	mutex_init(&rndpool_mtx, MUTEX_DEFAULT, IPL_VM);
-	cv_init(&rndpool_cv, "rndread");
 
 	rnd_mempc = pool_cache_init(sizeof(rnd_sample_t), 0, 0, 0,
 				    "rndsample", NULL, IPL_VM,

Reply via email to