selftests: pidfd: skip test if unshare fails with EPERM
[linux-2.6-microblaze.git] / crypto / algboss.c
index 535f1f8..5ebccbd 100644 (file)
@@ -178,8 +178,6 @@ static int cryptomgr_schedule_probe(struct crypto_larval *larval)
        if (IS_ERR(thread))
                goto err_put_larval;
 
-       wait_for_completion_interruptible(&larval->completion);
-
        return NOTIFY_STOP;
 
 err_put_larval: