Files
linux/drivers
Andy Lutomirski 71bfb8ffc3 random: Don't wake crng_init_wait when crng_init == 1
commit 4c8d062186 upstream.

crng_init_wait is only used to wayt for crng_init to be set to 2, so
there's no point to waking it when crng_init is set to 1.  Remove the
unnecessary wake_up_interruptible() call.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Link: https://lore.kernel.org/r/6fbc0bfcbfc1fa2c76fd574f5b6f552b11be7fde.1577088521.git.luto@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-06-13 14:13:03 +09:00
..
2023-05-16 12:22:16 +09:00
2023-05-16 12:12:51 +09:00
2023-06-13 14:12:44 +09:00
2023-06-13 14:13:02 +09:00
2023-06-13 14:12:40 +09:00