aboutsummaryrefslogtreecommitdiff
path: root/tar
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-03-05 22:55:09 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-03-05 22:55:09 +0100
commitdfab234dfae735103d2e5206b0f335c8449ee3d5 (patch)
tree1b5d79f6a5f5a01896562233ee40973085755c21 /tar
parent85e36aab1258d8d9ec7b61ce013f167ef8e03ae0 (diff)
Get rid of sqfs_compressor_exists
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tar')
-rw-r--r--tar/sqfs2tar.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/tar/sqfs2tar.c b/tar/sqfs2tar.c
index 2b013d6..925ae9c 100644
--- a/tar/sqfs2tar.c
+++ b/tar/sqfs2tar.c
@@ -540,18 +540,6 @@ int main(int argc, char **argv)
goto out_fd;
}
- 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", filename);
- goto out_fd;
- }
-
sqfs_compressor_config_init(&cfg, super.compression_id,
super.block_size,
SQFS_COMP_FLAG_UNCOMPRESS);