diff --git a/drivers/char/random.c b/drivers/char/random.c index 80ed1d593f27e..f344f67c83f4e 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -859,14 +859,6 @@ void __init random_init_early(const char *command_line) unsigned long entropy[BLAKE2S_BLOCK_SIZE / sizeof(long)]; size_t i, longs, arch_bits; - /* - * If we were initialized by the bootloader before jump labels are - * initialized, then we should enable the static branch here, where - * it's guaranteed that jump labels have been initialized. - */ - if (!static_branch_likely(&crng_is_ready) && crng_init >= CRNG_READY) - crng_set_ready(NULL); - #if defined(LATENT_ENTROPY_PLUGIN) static const u8 compiletime_seed[BLAKE2S_BLOCK_SIZE] __initconst __latent_entropy; _mix_pool_bytes(compiletime_seed, sizeof(compiletime_seed));