diff --git a/crypto/algapi.c b/crypto/algapi.c index ce0e2886b..42dca17dc 100755 --- a/crypto/algapi.c +++ b/crypto/algapi.c @@ -246,7 +246,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; }