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:
parent
0c4ea17225
commit
790ca84f39
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue