From 7c9bb41817988287c74f83512541355e7818c57f Mon Sep 17 00:00:00 2001 From: Alexandru Gagniuc Date: Wed, 29 Jan 2014 16:55:48 -0600 Subject: cbfstool/lzma: Remove code which depends on commented out defines These options seem to control the behavior of the encoder/decoder, with comments citing a trade-off between memory usage and performance. I removed these in a separate patch to make reverting in the future easier, if we find these options are useful. Change-Id: I24cb7101b89e60f4fb96777e3681c03d2a62e3d5 Signed-off-by: Alexandru Gagniuc Reviewed-on: http://review.coreboot.org/5084 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- util/cbfstool/lzma/C/LzmaEnc.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'util/cbfstool/lzma/C/LzmaEnc.c') diff --git a/util/cbfstool/lzma/C/LzmaEnc.c b/util/cbfstool/lzma/C/LzmaEnc.c index 70e9baa1c2..583b45500e 100644 --- a/util/cbfstool/lzma/C/LzmaEnc.c +++ b/util/cbfstool/lzma/C/LzmaEnc.c @@ -174,11 +174,8 @@ struct COptimal #define kNumFullDistances (1 << (kEndPosModelIndex >> 1)) -#ifdef _LZMA_PROB32 -#define CLzmaProb uint32_t -#else -#define CLzmaProb uint16_t -#endif +typedef uint16_t CLzmaProb; + #define LZMA_PB_MAX 4 #define LZMA_LC_MAX 8 -- cgit v1.2.3