aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorDominik Brodowski <[email protected]>2022-01-30 21:03:19 +0000
committerJason A. Donenfeld <[email protected]>2022-02-04 18:22:32 +0000
commitebf7606388732ecf2821ca21087e9446cb4a5b57 (patch)
treec98fb919cf797db364b6a69c88011c6e22e3d123 /lib/string_helpers.c
parentrandom: wake up /dev/random writers after zap (diff)
downloadkernel-ebf7606388732ecf2821ca21087e9446cb4a5b57.tar.gz
kernel-ebf7606388732ecf2821ca21087e9446cb4a5b57.zip
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 <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions