crypto: api - Fix comment typo
authorJason Wang <wangborong@cdjrlc.com>
Thu, 11 Aug 2022 12:13:49 +0000 (20:13 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 19 Aug 2022 10:39:37 +0000 (18:39 +0800)
The double `to' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/api.c

index 69508ae..ab4b5e2 100644 (file)
@@ -321,7 +321,7 @@ struct crypto_alg *crypto_alg_mod_lookup(const char *name, u32 type, u32 mask)
 
        /*
         * If the internal flag is set for a cipher, require a caller to
-        * to invoke the cipher with the internal flag to use that cipher.
+        * invoke the cipher with the internal flag to use that cipher.
         * Also, if a caller wants to allocate a cipher that may or may
         * not be an internal cipher, use type | CRYPTO_ALG_INTERNAL and
         * !(mask & CRYPTO_ALG_INTERNAL).