Re: [PATCH -next] btrfs: remove set but not used variable 'fs_devices'

2019-03-28 Thread David Sterba
On Wed, Mar 27, 2019 at 03:20:24AM +, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > fs/btrfs/volumes.c: In function 'btrfs_grow_device': > fs/btrfs/volumes.c:2824:27: warning: > variable 'fs_devices' set but not used [-Wunused-but-set-variable] > > It's not used afte

[PATCH -next] btrfs: remove set but not used variable 'fs_devices'

2019-03-26 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: fs/btrfs/volumes.c: In function 'btrfs_grow_device': fs/btrfs/volumes.c:2824:27: warning: variable 'fs_devices' set but not used [-Wunused-but-set-variable] It's not used after 6f32a50a232b ("btrfs: combine device update operations during transactio