diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-10 18:07:11 -0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-03-13 21:24:26 +0100 |
commit | f59a75c99da593651217fda6f30f91ed45583ee8 (patch) | |
tree | 9f96651b6ec010d61162f935a1519db649e08ae6 /src/lib/lzmadecode.c | |
parent | 3e1cab447b648e5cfdaa55d098075ddd5ede0efc (diff) | |
download | coreboot-f59a75c99da593651217fda6f30f91ed45583ee8.tar.xz |
src/lib: Remove semicolon from end of macro
Fix the following warning detected by checkpatch.pl:
WARNING: macros should not use a trailing semicolon
TEST=Build and run on Galileo Gen2
Change-Id: Ie1d966b0f1f8fff401d6314fd2ef005ab6ac69db
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18764
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/lib/lzmadecode.c')
-rw-r--r-- | src/lib/lzmadecode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/lzmadecode.c b/src/lib/lzmadecode.c index e74116040a..c25001f26a 100644 --- a/src/lib/lzmadecode.c +++ b/src/lib/lzmadecode.c @@ -71,12 +71,12 @@ #define UpdateBit0(p) \ Range = bound; \ - *(p) += (kBitModelTotal - *(p)) >> kNumMoveBits; + *(p) += (kBitModelTotal - *(p)) >> kNumMoveBits #define UpdateBit1(p) \ Range -= bound; \ Code -= bound; \ - *(p) -= (*(p)) >> kNumMoveBits; + *(p) -= (*(p)) >> kNumMoveBits #define RC_GET_BIT2(p, mi, A0, A1) \ IfBit0(p) { \ @@ -230,7 +230,7 @@ int LzmaDecode(CLzmaDecoderState *vs, prob = p + IsMatch + (state << kNumPosBitsMax) + posState; IfBit0(prob) { int symbol = 1; - UpdateBit0(prob) + UpdateBit0(prob); prob = p + Literal + (LZMA_LIT_SIZE * ((((nowPos) & literalPosMask) << lc) + (previousByte >> (8 - lc)))); |