diff options
| author | Andy Lutomirski <luto@kernel.org> | 2019-12-23 00:20:44 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-25 11:48:58 +0200 |
| commit | b3284ff69216a05dfe1056d138a57483e8586a76 (patch) | |
| tree | 193300504ea5e12250b2e6b521848fcc4ad9d398 /include/uapi/linux/mqueue.h | |
| parent | 72749519c7d62ac620166b732ca52cfb93e23a7e (diff) | |
random: Don't wake crng_init_wait when crng_init == 1
commit 4c8d062186d9923c09488716b2fb1b829b5b8006 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>
Diffstat (limited to 'include/uapi/linux/mqueue.h')
0 files changed, 0 insertions, 0 deletions
