erofs-utils: lib: drop unused `ret` assignment
authorGao Xiang <hsiangkao@linux.alibaba.com>
Sat, 5 Apr 2025 18:57:05 +0000 (02:57 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Sat, 5 Apr 2025 19:29:34 +0000 (03:29 +0800)
Coverity-id: 548921
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20250405185707.3202298-2-hsiangkao@linux.alibaba.com
lib/compress.c

index 4b966d828ba7822645d820a3d391415fe369392f..bff0e0b25fbcacc7274ab7ef803f22e27ed71f9b 100644 (file)
@@ -1202,7 +1202,7 @@ int erofs_commit_compressed_file(struct z_erofs_compress_ictx *ictx,
        }
 
        if (ptotal) {
-               ret = erofs_bh_balloon(bh, ptotal);
+               (void)erofs_bh_balloon(bh, ptotal);
        } else {
                if (!cfg.c_fragments && !cfg.c_dedupe)
                        DBG_BUGON(!inode->idata_size);