summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-11-28 21:52:25 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-11-29 21:12:42 +0100
commit62493a5fe14d80807452c5728303157a0194e888 (patch)
treeb5fa970df1f68f6066560503634d75e967b50a81 /lib
parent4de10d263ac2105624820c3e0c3aaa16bca3354c (diff)
downloadbarebox-62493a5fe14d80807452c5728303157a0194e888.tar.gz
barebox-62493a5fe14d80807452c5728303157a0194e888.tar.xz
remove now unused unlzo function
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/decompress_unlzo.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/decompress_unlzo.c b/lib/decompress_unlzo.c
index 5c0587e57c..000bd704c3 100644
--- a/lib/decompress_unlzo.c
+++ b/lib/decompress_unlzo.c
@@ -284,28 +284,3 @@ exit_1:
exit:
return ret;
}
-
-static int in_fd;
-static int out_fd;
-
-static int unlzo_fill(void *buf, unsigned int len)
-{
- return read(in_fd, buf, len);
-}
-
-static int unlzo_flush(void *buf, unsigned int len)
-{
- return write(out_fd, buf, len);
-}
-
-static void unlzo_error(char *s)
-{
- printf("%s\n", s);
-}
-
-int unlzo(int _in_fd, int _out_fd, int *dest_len)
-{
- in_fd = _in_fd;
- out_fd = _out_fd;
- return decompress_unlzo(NULL, 0, unlzo_fill, unlzo_flush, NULL, NULL, unlzo_error);
-}