diff --git a/crypto/drbg.c b/crypto/drbg.c index c89e26e67740..44b0a7f62402 100644 --- a/crypto/drbg.c +++ b/crypto/drbg.c @@ -1520,7 +1520,7 @@ static int drbg_prepare_hrng(struct drbg_state *drbg) const int err = PTR_ERR(drbg->jent); drbg->jent = NULL; - if (fips_enabled || err != -ENOENT) + if (fips_enabled) return err; pr_info("DRBG: Continuing without Jitter RNG\n"); }