aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/random/randomdev.c
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2002-09-21 21:44:19 +0000
committerMark Murray <markm@FreeBSD.org>2002-09-21 21:44:19 +0000
commita0a95acece1d200759bbe965fc7cc3d772cb3477 (patch)
tree92b06b6d0ecbe33b26908b4b8bc27647a3a5814e /sys/dev/random/randomdev.c
parent44e6ce01b9e89a0b00dfd3b063eed7c24cfbb39d (diff)
Notes
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 9db07a1de523..e0184289901f 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 */