Merge tag 'v6.10-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[linux-block.git] / crypto / algboss.c
index 0de1e66979498eb3b49b3862c37879e619fa0f68..1aa5f306998a27a0197ac5bb5947abd1a5b5f3b1 100644 (file)
@@ -138,9 +138,6 @@ static int cryptomgr_schedule_probe(struct crypto_larval *larval)
                        goto err_free_param;
        }
 
-       if (!i)
-               goto err_free_param;
-
        param->tb[i + 1] = NULL;
 
        param->type.attr.rta_len = sizeof(param->type);