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

From: Lasse Collin
Date: Mon Nov 22 2010 - 13:02:18 EST


From: Lasse Collin <lasse.collin@xxxxxxxxxxx>

Signed-off-by: Lasse Collin <lasse.collin@xxxxxxxxxxx>
---

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)
{
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/