Commit 4eeb97c6 authored by Nikolay Borisov's avatar Nikolay Borisov Committed by David Sterba

btrfs: Remove unused tot_len var from lzo_decompress

Added already unused in a6fa6fae ("btrfs: Add lzo compression
support").
Signed-off-by: default avatarNikolay Borisov <nborisov@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent d6e823a5
...@@ -382,14 +382,12 @@ static int lzo_decompress(struct list_head *ws, unsigned char *data_in, ...@@ -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); struct workspace *workspace = list_entry(ws, struct workspace, list);
size_t in_len; size_t in_len;
size_t out_len; size_t out_len;
size_t tot_len;
int ret = 0; int ret = 0;
char *kaddr; char *kaddr;
unsigned long bytes; unsigned long bytes;
BUG_ON(srclen < LZO_LEN); BUG_ON(srclen < LZO_LEN);
tot_len = read_compress_length(data_in);
data_in += LZO_LEN; data_in += LZO_LEN;
in_len = read_compress_length(data_in); in_len = read_compress_length(data_in);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment