summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorJason Wang <wangborong@cdjrlc.com>2022-08-11 14:13:49 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2022-08-19 12:39:37 +0200
commitbc9d6dac098bd4f6671970e0ba6c247e3a8c4029 (patch)
treef0eedaaeb6a72c9cda4b89a424b31c02642673cf /crypto
parentcrypto: cavium - Fix comment typo (diff)
downloadlinux-bc9d6dac098bd4f6671970e0ba6c247e3a8c4029.tar.xz
linux-bc9d6dac098bd4f6671970e0ba6c247e3a8c4029.zip
crypto: api - Fix comment typo
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>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/api.c b/crypto/api.c
index 69508ae9345e..ab4b5e2b0756 100644
--- a/crypto/api.c
+++ b/crypto/api.c
@@ -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).