summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-11-09 20:11:42 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2017-11-10 01:08:54 +0300
commitf1be313697f2d2ee925bd559a53d58312dec8b5a (patch)
treec0a484aa967c82e64665498a4f2c5f3a51308fe0 /fs
parentfc258f4b8bb578c39223ff572b4dec8d56a2ed81 (diff)
downloadlinux-f1be313697f2d2ee925bd559a53d58312dec8b5a.tar.xz
xfs: remove a superflous assignment in xfs_iext_remove_node
Reported-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/xfs/libxfs/xfs_iext_tree.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_iext_tree.c b/fs/xfs/libxfs/xfs_iext_tree.c
index c28a24aca9c5..11b95bea23a9 100644
--- a/fs/xfs/libxfs/xfs_iext_tree.c
+++ b/fs/xfs/libxfs/xfs_iext_tree.c
@@ -751,7 +751,6 @@ again:
node = xfs_iext_rebalance_node(parent, &pos, node, nr_entries);
if (node) {
- offset = node->keys[0];
victim = node;
node = parent;
goto again;