Re: [PATCH v3 1/8] random: Don't wake crng_init_wait when crng_init == 1

From: Theodore Y. Ts'o
Date: Tue Jan 07 2020 - 15:44:02 EST


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@xxxxxxxxxx>

Applied with a spelling fix ("wayt->wait").

- Ted