]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
lib-decompressors-remove-set-but-not-used-variabled-level-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 2 Jun 2021 03:53:16 +0000 (13:53 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 2 Jun 2021 03:53:16 +0000 (13:53 +1000)
warning: value computed is not used

Cc: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
lib/decompress_unlzo.c

index 6a21c0d2fc3d44d9ab2a715fb53dcbded2da7fab..64c1358500ce4e9cd274cce2ed43744fdb938406 100644 (file)
@@ -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