summaryrefslogtreecommitdiffstats
path: root/sys/dev/random/randomdev_soft.c
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2016-02-13 15:42:03 -0600
committerLuiz Otavio O Souza <luiz@netgate.com>2016-02-13 15:42:03 -0600
commitc5df3d0f11ca3b170da878cdd4782fc603c15460 (patch)
tree8b6e061b2541f563a4393ef37dd69d20a350681d /sys/dev/random/randomdev_soft.c
parent3469b6e4cbedf6789ee84a4ad5ce13a9286c971e (diff)
parenta3f0577ed04b6c469cd8c282522893364bebcf3f (diff)
downloadFreeBSD-src-c5df3d0f11ca3b170da878cdd4782fc603c15460.zip
FreeBSD-src-c5df3d0f11ca3b170da878cdd4782fc603c15460.tar.gz
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'sys/dev/random/randomdev_soft.c')
-rw-r--r--sys/dev/random/randomdev_soft.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/random/randomdev_soft.c b/sys/dev/random/randomdev_soft.c
index 0929704..6badecc 100644
--- a/sys/dev/random/randomdev_soft.c
+++ b/sys/dev/random/randomdev_soft.c
@@ -182,12 +182,6 @@ randomdev_deinit(void)
/* Deregister the randomness harvesting routine */
randomdev_deinit_harvester();
- /*
- * Command the hash/reseed thread to end and wait for it to finish
- */
- random_kthread_control = -1;
- tsleep((void *)&random_kthread_control, 0, "term", 0);
-
#if defined(RANDOM_YARROW)
random_yarrow_deinit_alg();
#endif
OpenPOWER on IntegriCloud