summaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorChristoph Hellwig2017-11-09 18:11:42 +0100
committerDarrick J. Wong2017-11-09 23:08:54 +0100
commitf1be313697f2d2ee925bd559a53d58312dec8b5a (patch)
treec0a484aa967c82e64665498a4f2c5f3a51308fe0 /fs/xfs
parentxfs: add some comments to xfs_iext_insert/xfs_iext_insert_node (diff)
downloadkernel-qcow2-linux-f1be313697f2d2ee925bd559a53d58312dec8b5a.tar.gz
kernel-qcow2-linux-f1be313697f2d2ee925bd559a53d58312dec8b5a.tar.xz
kernel-qcow2-linux-f1be313697f2d2ee925bd559a53d58312dec8b5a.zip
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/xfs')
-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;