From b9f2ce10ef5249eefb90354da3b83a66ac58d9c6 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Fri, 11 Nov 2011 14:31:38 +0100 Subject: [PATCH] Decompressors: remove unused function from unlzma.c From: Lasse Collin Signed-off-by: Lasse Collin Signed-off-by: Jan Beulich Acked-by: Keir Fraser Committed-by: Jan Beulich --- xen/common/unlzma.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/xen/common/unlzma.c b/xen/common/unlzma.c index 689b72a662..7ecd161d56 100644 --- a/xen/common/unlzma.c +++ b/xen/common/unlzma.c @@ -121,12 +121,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) { -- 2.30.2