]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: remove unused variable 'done'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 24 Jan 2020 05:22:49 +0000 (21:22 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 24 Jan 2020 05:24:50 +0000 (21:24 -0800)
commitd324767730af42c15e1de12028a48772e0299ff4
tree04ca16666c392337af98c1252b91b187a64ec02b
parent1e7f23cbf59e8fea14ee4800953c9050cc98d6af
xfs: remove unused variable 'done'

fs/xfs/xfs_inode.c: In function 'xfs_itruncate_extents_flags':
fs/xfs/xfs_inode.c:1523:8: warning: unused variable 'done' [-Wunused-variable]

commit e0fc4ea6a1a8 ("xfs: truncate should remove
all blocks, not just to the end of the page cache")
left behind this, so remove it.

Fixes: e0fc4ea6a1a8 ("xfs: truncate should remove all blocks, not just to the end of the page cache")
Reported-by: Hulk Robot <hulkci@huawei.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_inode.c