On Sat, Dec 15, 2018 at 06:31:07AM +0000, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > fs/btrfs/ioctl.c: In function 'btrfs_extent_same': > fs/btrfs/ioctl.c:3260:6: warning: > variable 'num_pages' set but not used [-Wunused-but-set-variable] > > It not used any more since commit 9ee8234e6220 ("Btrfs: use > generic_remap_file_range_prep() for cloning and deduplication") > > Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx> Added to patch queue, thanks.