summaryrefslogtreecommitdiffstats
path: root/crypto/cpuid.c
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2023-07-16 09:09:31 +0200
committerTomas Mraz <tomas@openssl.org>2023-09-11 10:15:30 +0200
commitad31628cfef5893b2198077752302a7d9b58135c (patch)
tree3d95d6074b1c4f272a60aa95b2dfedf24ddd85d0 /crypto/cpuid.c
parent84f371a130dbe7a46595fbabd274f152a0e6385f (diff)
Remove repeated words
Found by running the checkpatch.pl Linux script to enforce coding style. Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21468)
Diffstat (limited to 'crypto/cpuid.c')
-rw-r--r--crypto/cpuid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/cpuid.c b/crypto/cpuid.c
index f3d966dbf0..a7c4f97fb4 100644
--- a/crypto/cpuid.c
+++ b/crypto/cpuid.c
@@ -34,7 +34,7 @@ static variant_char *ossl_getenv(const char *name)
{
/*
* Since we pull only one environment variable, it's simpler to
- * to just ignore |name| and use equivalent wide-char L-literal.
+ * just ignore |name| and use equivalent wide-char L-literal.
* As well as to ignore excessively long values...
*/
static WCHAR value[48];
@@ -173,7 +173,7 @@ void OPENSSL_cpuid_setup(void)
*/
/*
- * The volatile is used to to ensure that the compiler generates code that reads
+ * The volatile is used to ensure that the compiler generates code that reads
* all values from the array and doesn't try to optimize this away. The standard
* doesn't actually require this behavior if the original data pointed to is
* not volatile, but compilers do this in practice anyway.