diff --git a/crypto/drbg.c b/crypto/drbg.c index 9cd9bb9d5d75535329cf4d633910bfed3952a9e8..ca6765eeb99046347a1f60d78457de122927f651 100644 --- a/crypto/drbg.c +++ b/crypto/drbg.c @@ -1429,7 +1429,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"); }