random: de-duplicate INPUT_POOL constants
authorJason A. Donenfeld <Jason@zx2c4.com>
Thu, 13 Jan 2022 15:11:21 +0000 (16:11 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 May 2022 07:29:02 +0000 (09:29 +0200)
commit2772ba4d52235ae2b45140c7bbcfdda23c6a3879
treee98be84b104df452d4a506ceb56d934ce8337e44
parentda80b44cf9cfb131e54926d7bc6230446e9f9100
random: de-duplicate INPUT_POOL constants

commit 5b87adf30f1464477169a1d653e9baf8c012bbfe upstream.

We already had the POOL_* constants, so deduplicate the older INPUT_POOL
ones. As well, fold EXTRACT_SIZE into the poolinfo enum, since it's
related.

Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/random.c