From 790ca84f39b47c89a215c024dded84db5e97541e Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Wed, 5 Sep 2012 16:59:45 +0200 Subject: 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 Signed-off-by: Sascha Hauer --- lib/uncompress.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib') 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; -- cgit v1.2.3