diff options
Diffstat (limited to 'lib/decompress_unlzo.c')
-rw-r--r-- | lib/decompress_unlzo.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/decompress_unlzo.c b/lib/decompress_unlzo.c index bcb3a4bd68ff..df3e98f945a6 100644 --- a/lib/decompress_unlzo.c +++ b/lib/decompress_unlzo.c | |||
@@ -91,7 +91,7 @@ STATIC inline int INIT unlzo(u8 *input, int in_len, | |||
91 | int (*fill) (void *, unsigned int), | 91 | int (*fill) (void *, unsigned int), |
92 | int (*flush) (void *, unsigned int), | 92 | int (*flush) (void *, unsigned int), |
93 | u8 *output, int *posp, | 93 | u8 *output, int *posp, |
94 | void (*error_fn) (char *x)) | 94 | void (*error) (char *x)) |
95 | { | 95 | { |
96 | u8 skip = 0, r = 0; | 96 | u8 skip = 0, r = 0; |
97 | u32 src_len, dst_len; | 97 | u32 src_len, dst_len; |
@@ -99,8 +99,6 @@ STATIC inline int INIT unlzo(u8 *input, int in_len, | |||
99 | u8 *in_buf, *in_buf_save, *out_buf; | 99 | u8 *in_buf, *in_buf_save, *out_buf; |
100 | int ret = -1; | 100 | int ret = -1; |
101 | 101 | ||
102 | set_error_fn(error_fn); | ||
103 | |||
104 | if (output) { | 102 | if (output) { |
105 | out_buf = output; | 103 | out_buf = output; |
106 | } else if (!flush) { | 104 | } else if (!flush) { |