commit | ebf7606388732ecf2821ca21087e9446cb4a5b57 | [log] [tgz] |
---|---|---|
author | Dominik Brodowski <linux@dominikbrodowski.net> | Sun Jan 30 22:03:19 2022 +0100 |
committer | Jason A. Donenfeld <Jason@zx2c4.com> | Fri Feb 04 19:22:32 2022 +0100 |
tree | c98fb919cf797db364b6a69c88011c6e22e3d123 | |
parent | 042e293e16e3aa9794ce60c29f5b7b0c8170f933 [diff] |
random: access primary_pool directly rather than through pointer Both crng_initialize_primary() and crng_init_try_arch_early() are only called for the primary_pool. Accessing it directly instead of through a function parameter simplifies the code. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>