Message ID | 20240527004551.3224596-2-portia.stephens@canonical.com |
---|---|
State | New |
Headers | show |
Series | [SRU,jammy:linux-xilinx-zynqmp] 1/1] Revert "crypto: api - Disallow identical driver names" | expand |
diff --git a/crypto/algapi.c b/crypto/algapi.c index 565f591c4b81..c390a79c5a66 100644 --- a/crypto/algapi.c +++ b/crypto/algapi.c @@ -258,7 +258,6 @@ static struct crypto_larval *__crypto_register_alg(struct crypto_alg *alg) } if (!strcmp(q->cra_driver_name, alg->cra_name) || - !strcmp(q->cra_driver_name, alg->cra_driver_name) || !strcmp(q->cra_name, alg->cra_driver_name)) goto err; }