zdb: zdb_decompress_block: don't needlessly set buf

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12187
This commit is contained in:
наб 2021-06-03 18:29:45 +02:00 committed by Brian Behlendorf
parent 77f3b67520
commit 4f1009face
1 changed files with 0 additions and 1 deletions

View File

@ -7969,7 +7969,6 @@ zdb_decompress_block(abd_t *pabd, void *buf, void *lbuf, uint64_t lsize,
if (lsize > maxlsize) { if (lsize > maxlsize) {
exceeded = B_TRUE; exceeded = B_TRUE;
} }
buf = lbuf;
if (*cfuncp == ZIO_COMPRESS_ZLE) { if (*cfuncp == ZIO_COMPRESS_ZLE) {
printf("\nZLE decompression was selected. If you " printf("\nZLE decompression was selected. If you "
"suspect the results are wrong,\ntry avoiding ZLE " "suspect the results are wrong,\ntry avoiding ZLE "