random: remove stale urandom_init_wait
authorStephan Müller <smueller@chronox.de>
Tue, 27 Dec 2016 22:39:31 +0000 (23:39 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 19 Jan 2017 02:54:15 +0000 (21:54 -0500)
The urandom_init_wait wait queue is a left over from the pre-ChaCha20
times and can therefore be savely removed.

Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
drivers/char/random.c

index 8e5ab20848c0678af5c06d73abe44e06c847cce6..482531d87fb8f0441a3e32db974d4b832b43a3dd 100644 (file)
@@ -409,7 +409,6 @@ static struct poolinfo {
  */
 static DECLARE_WAIT_QUEUE_HEAD(random_read_wait);
 static DECLARE_WAIT_QUEUE_HEAD(random_write_wait);
-static DECLARE_WAIT_QUEUE_HEAD(urandom_init_wait);
 static struct fasync_struct *fasync;
 
 static DEFINE_SPINLOCK(random_ready_list_lock);