xfs: remove unused variable 'done'
commit b3531f5fc16d4df2b12567bce48cd9f3ab5f9131 upstream.
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 4bbb04abb4ee ("xfs: truncate should remove
all blocks, not just to the end of the page cache")
left behind this, so remove it.
Fixes: 4bbb04abb4ee ("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>
Acked-by:
Darrick J. Wong <djwong@kernel.org>
Signed-off-by:
Chandan Babu R <chandan.babu@oracle.com>
Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please register or sign in to comment