Re: [PATCH 4/6] btrfs: remove unused variable tree in bio_readpage_error()

2018-11-14 Thread Omar Sandoval
On Wed, Nov 14, 2018 at 02:35:18PM +0100, Johannes Thumshirn wrote: > Commit 2922040236f9 (btrfs: Remove extent_io_ops::writepage_end_io_hook) > removed the indirection to extent_io_ops::writepage_end_io_hook but didn't > remove the tree variable which then became unused. > > Remove 'tree' as well

[PATCH 4/6] btrfs: remove unused variable tree in bio_readpage_error()

2018-11-14 Thread Johannes Thumshirn
Commit 2922040236f9 (btrfs: Remove extent_io_ops::writepage_end_io_hook) removed the indirection to extent_io_ops::writepage_end_io_hook but didn't remove the tree variable which then became unused. Remove 'tree' as well to silence the warning when -Wunused-but-set-variable is used to compile btrf