]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
random: fix comment for unused random_min_urandom_seed
authorStephan Müller <smueller@chronox.de>
Tue, 27 Dec 2016 22:41:22 +0000 (23:41 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 19 Jan 2017 02:54:16 +0000 (21:54 -0500)
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>
drivers/char/random.c

index 92d6dd24c86ea58e472dfc52a6ca4c81ebd07d50..9d147d456598e257f27a4c1de4af7e4f6397fabd 100644 (file)
@@ -313,9 +313,7 @@ static int random_read_wakeup_bits = 64;
 static int random_write_wakeup_bits = 28 * OUTPUT_POOL_WORDS;
 
 /*
- * The minimum number of seconds between urandom pool reseeding.  We
- * do this to limit the amount of entropy that can be drained from the
- * input pool even if there are heavy demands on /dev/urandom.
+ * Variable is currently unused by left for user space compatibility.
  */
 static int random_min_urandom_seed = 60;