summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorXin Gao <gaoxin@cdjrlc.com>2022-10-18 00:18:59 +0200
committerNick Terrell <terrelln@fb.com>2022-10-24 21:11:52 +0200
commit19d7df98472851e1d2d11e00c177988d0f49683d (patch)
tree8cc90cbd27a5abde80bfa2dc660eb9797e98248c /lib
parentlib: zstd: fix repeated words in comments (diff)
downloadlinux-19d7df98472851e1d2d11e00c177988d0f49683d.tar.xz
linux-19d7df98472851e1d2d11e00c177988d0f49683d.zip
lib: zstd: Fix comment typo
The double `when' is duplicated in line 999, remove one. Signed-off-by: Xin Gao <gaoxin@cdjrlc.com> Signed-off-by: Nick Terrell <terrelln@fb.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/zstd/decompress/zstd_decompress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zstd/decompress/zstd_decompress.c b/lib/zstd/decompress/zstd_decompress.c
index b4d81d84479a..6928e85f9d19 100644
--- a/lib/zstd/decompress/zstd_decompress.c
+++ b/lib/zstd/decompress/zstd_decompress.c
@@ -996,7 +996,7 @@ size_t ZSTD_decompress(void* dst, size_t dstCapacity, const void* src, size_t sr
size_t ZSTD_nextSrcSizeToDecompress(ZSTD_DCtx* dctx) { return dctx->expected; }
/*
- * Similar to ZSTD_nextSrcSizeToDecompress(), but when when a block input can be streamed,
+ * Similar to ZSTD_nextSrcSizeToDecompress(), but when a block input can be streamed,
* we allow taking a partial block as the input. Currently only raw uncompressed blocks can
* be streamed.
*