From f1be313697f2d2ee925bd559a53d58312dec8b5a Mon Sep 17 00:00:00 2001 From: Christoph Hellwig <hch@lst.de> Date: Thu, 9 Nov 2017 09:11:42 -0800 Subject: [PATCH] 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> --- fs/xfs/libxfs/xfs_iext_tree.c | 1 - 1 file changed, 1 deletion(-) 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 @@ xfs_iext_remove_node( node = xfs_iext_rebalance_node(parent, &pos, node, nr_entries); if (node) { - offset = node->keys[0]; victim = node; node = parent; goto again; -- 2.30.9