aboutsummaryrefslogtreecommitdiff
path: root/squashfs-tools/lz4_wrapper.c
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2013-07-08 03:03:04 +0100
committerMohamad Ayyash <mkayyash@google.com>2015-02-23 12:36:03 -0800
commit47a61565b99385af7c917cf8c501421211cb00ab (patch)
treed85e98a9fd3e304d27a77a2d46eb782c2f843de5 /squashfs-tools/lz4_wrapper.c
parentba27aff35ac999c5bcde541827c672d407bb1ecd (diff)
downloadsquashfs-tools-47a61565b99385af7c917cf8c501421211cb00ab.tar.gz
lz4_wrapper: get rid of lz4_options_post()
It's not needed. Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
Diffstat (limited to 'squashfs-tools/lz4_wrapper.c')
-rw-r--r--squashfs-tools/lz4_wrapper.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/squashfs-tools/lz4_wrapper.c b/squashfs-tools/lz4_wrapper.c
index 0f7b4bb..3337fa2 100644
--- a/squashfs-tools/lz4_wrapper.c
+++ b/squashfs-tools/lz4_wrapper.c
@@ -60,25 +60,6 @@ static int lz4_options(char *argv[], int argc)
/*
- * This function is called after all options have been parsed.
- * It is used to do post-processing on the compressor options using
- * values that were not expected to be known at option parse time.
- *
- * XXX needed?
- *
- * This function returns 0 on successful post processing, or
- * -1 on error
- */
-static int lz4_options_post(int block_size)
-{
- return 0;
-
-failed:
- return -1;
-}
-
-
-/*
* This function is called by mksquashfs to dump the parsed
* compressor options in a format suitable for writing to the
* compressor options field in the filesystem (stored immediately
@@ -269,7 +250,6 @@ struct compressor lz4_comp_ops = {
.compress = lz4_compress,
.uncompress = lz4_uncompress,
.options = lz4_options,
- .options_post = lz4_options_post,
.dump_options = lz4_dump_options,
.extract_options = lz4_extract_options,
.display_options = lz4_display_options,