Message ID | 20240306072908.5234-1-r.smirnov@omp.ru |
---|---|
State | Accepted |
Commit | ea32d5474be1fc4e92e19b0e1a827ffff772eb22 |
Headers | show |
Series | crypto: algboss: remove NULL check in cryptomgr_schedule_probe() | expand |
diff --git a/crypto/algboss.c b/crypto/algboss.c index 0de1e6697949..1aa5f306998a 100644 --- a/crypto/algboss.c +++ b/crypto/algboss.c @@ -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);