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)
commit1170862d783a3b47e49a1506fe15fa074e35bbb5
tree44730667f94b2afa7835cefeedd0ff05973f7764
parenta7e3c5f2f7ba3f1f413df5548ed51eb25cd1c74d
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