random: remove unused OUTPUT_POOL constants
authorJason A. Donenfeld <Jason@zx2c4.com>
Thu, 13 Jan 2022 14:51:06 +0000 (15:51 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 17 Jan 2022 16:25:32 +0000 (17:25 +0100)
commit43102512757e734c3e741c0fed0c6e8d1e43ca50
tree489c94962710231f56cfcc1b785fba03ce0f7c34
parent89596ce2adbec0c459dd01b9caba4213c82136f2
random: remove unused OUTPUT_POOL constants

We no longer have an output pool. Rather, we have just a wakeup bits
threshold for /dev/random reads, presumably so that processes don't
hang. This value, random_write_wakeup_bits, is configurable anyway. So
all the no longer usefully named OUTPUT_POOL constants were doing was
setting a reasonable default for random_write_wakeup_bits. This commit
gets rid of the constants and just puts it all in the default value of
random_write_wakeup_bits.

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