Skip to content
Commit ebf76063 authored by Dominik Brodowski's avatar Dominik Brodowski Committed by Jason A. Donenfeld
Browse files

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: default avatarDominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
parent 042e293e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment