summaryrefslogtreecommitdiff
path: root/unpack
diff options
context:
space:
mode:
Diffstat (limited to 'unpack')
-rw-r--r--unpack/rdsquashfs.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/unpack/rdsquashfs.c b/unpack/rdsquashfs.c
index 5ca9de4..c166f4a 100644
--- a/unpack/rdsquashfs.c
+++ b/unpack/rdsquashfs.c
@@ -35,19 +35,6 @@ int main(int argc, char **argv)
goto out_file;
}
- ret = sqfs_compressor_exists(super.compression_id);
-
-#ifdef WITH_LZO
- if (super.compression_id == SQFS_COMP_LZO)
- ret = true;
-#endif
-
- if (!ret) {
- fprintf(stderr, "%s: unknown compressor used.\n",
- opt.image_name);
- goto out_file;
- }
-
sqfs_compressor_config_init(&cfg, super.compression_id,
super.block_size,
SQFS_COMP_FLAG_UNCOMPRESS);