diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-09-05 16:59:45 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-09-10 10:05:46 +0200 |
commit | 790ca84f39b47c89a215c024dded84db5e97541e (patch) | |
tree | cfaeeeb337a89bbd87816c987a5a6f15443606d3 /lib | |
parent | 0c4ea17225723d3057c7e368e02a294f868dc8aa (diff) | |
download | barebox-790ca84f39b47c89a215c024dded84db5e97541e.tar.gz barebox-790ca84f39b47c89a215c024dded84db5e97541e.tar.xz |
uncompress: drop wrong BUG(uncompress_size)
As uncompress_size is a static and will set if call uncompress_size multiple
time.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/uncompress.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/uncompress.c b/lib/uncompress.c index cdfebe917..3cf98dd92 100644 --- a/lib/uncompress.c +++ b/lib/uncompress.c @@ -80,8 +80,6 @@ int uncompress(unsigned char *inbuf, int len, int ret; char *err; - BUG_ON(uncompress_size); - if (inbuf) { ft = file_detect_type(inbuf); uncompress_buf = NULL; |