2010-11-22 18:02:17

by Lasse Collin

[permalink] [raw]
Subject: [PATCH] Decompressors: Remove unused function from lib/decompress_unlzma.c

From: Lasse Collin <[email protected]>

Signed-off-by: Lasse Collin <[email protected]>
---

diff -uprN linux-2.6.37-rc3.orig/lib/decompress_unlzma.c linux-2.6.37-rc3/lib/decompress_unlzma.c
--- linux-2.6.37-rc3.orig/lib/decompress_unlzma.c 2010-10-20 23:30:22.000000000 +0300
+++ linux-2.6.37-rc3/lib/decompress_unlzma.c 2010-11-22 14:43:16.000000000 +0200
@@ -127,12 +127,6 @@ static inline void INIT rc_init_code(str
}


-/* 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)
{