Re: [PATCH v3 1/8] random: Don't wake crng_init_wait when crng_init == 1
From: "Theodore Y. Ts'o" <tytso@mit.edu>
Date: 2020-01-07 20:44:02
Also in:
linux-api, linux-man, lkml
From: "Theodore Y. Ts'o" <tytso@mit.edu>
Date: 2020-01-07 20:44:02
Also in:
linux-api, linux-man, lkml
On Mon, Dec 23, 2019 at 12:20:44AM -0800, Andy Lutomirski wrote:
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>
Applied with a spelling fix ("wayt->wait").
- Ted