Skip to contentSkip to conversation

Decompressors: Remove unused function from lib/decompress_unlzma.c

PATCH New Lasse Collin 1 participant 1 message Nov 22, 2010 Library code

lore
Share & tools
lore
#0 lore raw

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

From: Lasse Collin <[email protected]>

---

lib/decompress_unlzma.c +0 -6
diff -uprN linux-2.6.37-rc3.orig/lib/decompress_unlzma.c linux-2.6.37-rc3/lib/decompress_unlzma.c
@@ -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)
 {