random: cleanup poolinfo abstraction
authorJason A. Donenfeld <Jason@zx2c4.com>
Sun, 9 Jan 2022 16:32:02 +0000 (17:32 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 17 Jan 2022 16:25:32 +0000 (17:25 +0100)
commit9a74a4e80bfbbd244b4d66c6b348ac3aec6f88d0
tree32f2360da19e31841dd7906f763a27c4557ed691
parent1d6969988006d428a316d3540d16e7a01ffa7618
random: cleanup poolinfo abstraction

Now that we're only using one polynomial, we can cleanup its
representation into constants, instead of passing around pointers
dynamically to select different polynomials. This improves the codegen
and makes the code a bit more straightforward.

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