9
0
Fork 0

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>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2012-09-05 16:59:45 +02:00 committed by Sascha Hauer
parent 0c4ea17225
commit 790ca84f39
1 changed files with 0 additions and 2 deletions

View File

@ -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;