summaryrefslogtreecommitdiffstats
path: root/sys/dev/random/harvest.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/random/harvest.c')
-rw-r--r--sys/dev/random/harvest.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/random/harvest.c b/sys/dev/random/harvest.c
index fd94bd2..eb84268 100644
--- a/sys/dev/random/harvest.c
+++ b/sys/dev/random/harvest.c
@@ -128,7 +128,6 @@ void
random_set_wakeup_exit(void *control)
{
wakeup(control);
- mtx_lock(&Giant);
kthread_exit(0);
/* NOTREACHED */
}
OpenPOWER on IntegriCloud