aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Müller <smueller@chronox.de>2016-12-27 17:41:22 -0500
committerTheodore Ts'o <tytso@mit.edu>2017-01-18 21:54:16 -0500
commit5d0e5ea343a0f70351428476bcf8715e0731f26a (patch)
treeb8788ee494dfed1af46531f9084897c27f9e8792
parent43d8a72cd985ca5279a9eb84d61fcbb3ee3d3774 (diff)
random: fix comment for unused random_min_urandom_seed
The variable random_min_urandom_seed is not needed any more as it defined the reseeding behavior of the nonblocking pool. Though it is not needed any more, it is left in the code for user space interface compatibility. Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r--drivers/char/random.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c
index 92d6dd24c86e..9d147d456598 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -313,9 +313,7 @@ static int random_read_wakeup_bits = 64;
313static int random_write_wakeup_bits = 28 * OUTPUT_POOL_WORDS; 313static int random_write_wakeup_bits = 28 * OUTPUT_POOL_WORDS;
314 314
315/* 315/*
316 * The minimum number of seconds between urandom pool reseeding. We 316 * Variable is currently unused by left for user space compatibility.
317 * do this to limit the amount of entropy that can be drained from the
318 * input pool even if there are heavy demands on /dev/urandom.
319 */ 317 */
320static int random_min_urandom_seed = 60; 318static int random_min_urandom_seed = 60;
321 319