summaryrefslogtreecommitdiffstats
path: root/sys/dev/random/randomdev.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2002-09-21 21:44:19 +0000
committermarkm <markm@FreeBSD.org>2002-09-21 21:44:19 +0000
commitd858b4fee1b31a3d6f8b188403b74d4a124c91db (patch)
tree92b06b6d0ecbe33b26908b4b8bc27647a3a5814e /sys/dev/random/randomdev.c
parentb57c1147d22981983ef63f8b1324742d4664408c (diff)
downloadFreeBSD-src-d858b4fee1b31a3d6f8b188403b74d4a124c91db.zip
FreeBSD-src-d858b4fee1b31a3d6f8b188403b74d4a124c91db.tar.gz
Remove #ifdef'ed Giant mutex wrappers round debugging statements.
Diffstat (limited to 'sys/dev/random/randomdev.c')
-rw-r--r--sys/dev/random/randomdev.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/random/randomdev.c b/sys/dev/random/randomdev.c
index 9db07a1..e018428 100644
--- a/sys/dev/random/randomdev.c
+++ b/sys/dev/random/randomdev.c
@@ -358,9 +358,7 @@ random_kthread(void *arg __unused)
/* Is the thread scheduled for a shutdown? */
if (random_kthread_control != 0) {
#ifdef DEBUG
- mtx_lock(&Giant);
printf("Random kthread setting terminate\n");
- mtx_unlock(&Giant);
#endif
random_set_wakeup_exit(&random_kthread_control);
/* NOTREACHED */
OpenPOWER on IntegriCloud