btrfs: remove needless ASSERT check of orig_bio in end_compressed_bio_read
authorNikolay Borisov <nborisov@suse.com>
Thu, 2 Jul 2020 12:23:33 +0000 (15:23 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 27 Jul 2020 10:55:40 +0000 (12:55 +0200)
commit26056eab4bf7b7b1a690c0242bd1cc21e050349a
tree93dd9b9851b16a6397b58603f291539f7053e2b1
parent814723e0a55a9576b1d17f4fa8811086a24dd3e8
btrfs: remove needless ASSERT check of orig_bio in end_compressed_bio_read

compressed_bio::orig_bio is always set in btrfs_submit_compressed_read
before any bio submission is performed. Since that function is always
called with a valid bio it renders the ASSERT unnecessary.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/compression.c