aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/unlzma.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2011-11-11 14:31:38 +0100
committerLasse Collin <lasse.collin@tukaani.org>2011-11-11 14:31:38 +0100
commitb9f2ce10ef5249eefb90354da3b83a66ac58d9c6 (patch)
tree3b7c3826f3e2ad1f15bca4b0af5e9e626e504309 /xen/common/unlzma.c
parent072eb7aba6c987d81f100c992fb5097d9159aee5 (diff)
downloadxen-b9f2ce10ef5249eefb90354da3b83a66ac58d9c6.tar.gz
xen-b9f2ce10ef5249eefb90354da3b83a66ac58d9c6.tar.bz2
xen-b9f2ce10ef5249eefb90354da3b83a66ac58d9c6.zip
Decompressors: remove unused function from unlzma.c
From: Lasse Collin <lasse.collin@tukaani.org> Signed-off-by: Lasse Collin <lasse.collin@tukaani.org> Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org> Committed-by: Jan Beulich <jbeulich@suse.com>
Diffstat (limited to 'xen/common/unlzma.c')
-rw-r--r--xen/common/unlzma.c6
1 files changed, 0 insertions, 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)
{