]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: compress_file_range remove dead variable num_bytes
authorTimofey Titovets <nefelim4ag@gmail.com>
Tue, 3 Oct 2017 15:06:01 +0000 (18:06 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 30 Oct 2017 11:27:58 +0000 (12:27 +0100)
commitbad07204cc0b50698628779827f6a7a89d6de5cb
tree44730667f94b2afa7835cefeedd0ff05973f7764
parent4e1f8da0a68b014de0bf02b8cbd3a2c58d666aa6
Btrfs: compress_file_range remove dead variable num_bytes

Remove dead assigment of num_bytes.

Also as num_bytes only used in the will_compress block as copy of
total_in just replace that with total_in and drop num_bytes entirely.

Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c