From 22e4420820bdab66fee8c0b0a8acdd35c1000595 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Wed, 12 Jan 2011 17:01:16 -0800 Subject: Decompressors: remove unused function from lib/decompress_unlzma.c Signed-off-by: Lasse Collin Cc: "H. Peter Anvin" Cc: Alain Knaff Cc: Albin Tonnerre Cc: Phillip Lougher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- lib/decompress_unlzma.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib') diff --git a/lib/decompress_unlzma.c b/lib/decompress_unlzma.c index 946b83be3bcc..48173594ce01 100644 --- a/lib/decompress_unlzma.c +++ b/lib/decompress_unlzma.c @@ -127,12 +127,6 @@ static inline void INIT rc_init_code(struct rc *rc) } -/* Called once. TODO: bb_maybe_free() */ -static inline void INIT rc_free(struct rc *rc) -{ - free(rc->buffer); -} - /* Called twice, but one callsite is in inline'd rc_is_bit_0_helper() */ static void INIT rc_do_normalize(struct rc *rc) { -- cgit v1.2.3-58-ga151