Skip to content

Commit

Permalink
Decompressors: remove unused function from lib/decompress_unlzma.c
Browse files Browse the repository at this point in the history
Signed-off-by: Lasse Collin <lasse.collin@tukaani.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Alain Knaff <alain@knaff.lu>
Cc: Albin Tonnerre <albin.tonnerre@free-electrons.com>
Cc: Phillip Lougher <phillip@lougher.demon.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Larhzu authored and torvalds committed Jan 13, 2011
1 parent 2b6b5ca commit 22e4420
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/decompress_unlzma.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,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)
{
Expand Down

0 comments on commit 22e4420

Please sign in to comment.