]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
lib: zstd: Fix comment typo
authorXin Gao <gaoxin@cdjrlc.com>
Mon, 17 Oct 2022 22:18:59 +0000 (15:18 -0700)
committerNick Terrell <terrelln@fb.com>
Mon, 24 Oct 2022 19:11:52 +0000 (12:11 -0700)
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>
lib/zstd/decompress/zstd_decompress.c

index b4d81d84479ac75b59cd0cc7a8bf9ed3ed433ca6..6928e85f9d1930a37bd6e43f809aa5d064f61af0 100644 (file)
@@ -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.
  *