Decompressors: get rid of set_error_fn() macro
[deliverable/linux.git] / lib / decompress_unlzo.c
index bcb3a4bd68ff92b22811254e8335a8c67f1abc7c..df3e98f945a6e2ee7945c6fb16483f499e5cee0c 100644 (file)
@@ -91,7 +91,7 @@ STATIC inline int INIT unlzo(u8 *input, int in_len,
                                int (*fill) (void *, unsigned int),
                                int (*flush) (void *, unsigned int),
                                u8 *output, int *posp,
-                               void (*error_fn) (char *x))
+                               void (*error) (char *x))
 {
        u8 skip = 0, r = 0;
        u32 src_len, dst_len;
@@ -99,8 +99,6 @@ STATIC inline int INIT unlzo(u8 *input, int in_len,
        u8 *in_buf, *in_buf_save, *out_buf;
        int ret = -1;
 
-       set_error_fn(error_fn);
-
        if (output) {
                out_buf = output;
        } else if (!flush) {
This page took 0.039813 seconds and 5 git commands to generate.