From: Nikolay Borisov Date: Thu, 15 Mar 2018 12:36:24 +0000 (+0200) Subject: btrfs: Remove unused tot_len var from lzo_decompress X-Git-Tag: v5.15~8810^2~72 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4eeb97c67a90a2193cb622f4df8076cba7c42023;p=platform%2Fkernel%2Flinux-starfive.git btrfs: Remove unused tot_len var from lzo_decompress Added already unused in a6fa6fae40ec ("btrfs: Add lzo compression support"). Signed-off-by: Nikolay Borisov Signed-off-by: David Sterba --- diff --git a/fs/btrfs/lzo.c b/fs/btrfs/lzo.c index 6c7f18c..1c7f7f7 100644 --- a/fs/btrfs/lzo.c +++ b/fs/btrfs/lzo.c @@ -382,14 +382,12 @@ static int lzo_decompress(struct list_head *ws, unsigned char *data_in, struct workspace *workspace = list_entry(ws, struct workspace, list); size_t in_len; size_t out_len; - size_t tot_len; int ret = 0; char *kaddr; unsigned long bytes; BUG_ON(srclen < LZO_LEN); - tot_len = read_compress_length(data_in); data_in += LZO_LEN; in_len = read_compress_length(data_in);