From: Andrew Morton Date: Wed, 2 Jun 2021 03:53:16 +0000 (+1000) Subject: lib-decompressors-remove-set-but-not-used-variabled-level-fix X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1285340eab546e8cd212a6105afa591ce4c5fa44;p=users%2Fjedix%2Flinux-maple.git lib-decompressors-remove-set-but-not-used-variabled-level-fix warning: value computed is not used Cc: Yu Kuai Signed-off-by: Andrew Morton Signed-off-by: Stephen Rothwell --- diff --git a/lib/decompress_unlzo.c b/lib/decompress_unlzo.c index 6a21c0d2fc3d4..64c1358500ce4 100644 --- a/lib/decompress_unlzo.c +++ b/lib/decompress_unlzo.c @@ -64,7 +64,7 @@ STATIC inline long INIT parse_header(u8 *input, long *skip, long in_len) version = get_unaligned_be16(parse); parse += 7; if (version >= 0x0940) - *parse++; + parse++; if (get_unaligned_be32(parse) & HEADER_HAS_FILTER) parse += 8; /* flags + filter info */ else