summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Wang <wangborong@cdjrlc.com>2022-08-11 20:13:49 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2022-08-19 18:39:37 +0800
commitbc9d6dac098bd4f6671970e0ba6c247e3a8c4029 (patch)
treef0eedaaeb6a72c9cda4b89a424b31c02642673cf
parent450df3ecef4df9d94f7ca0d68527944418b2d1ed (diff)
downloadlinux-stable-bc9d6dac098bd4f6671970e0ba6c247e3a8c4029.tar.gz
linux-stable-bc9d6dac098bd4f6671970e0ba6c247e3a8c4029.tar.bz2
linux-stable-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>
-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).