Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43df2ee6 authored by Jie Liu's avatar Jie Liu Committed by Ben Myers
Browse files

xfs: Remove the left function variable from xfs_ialloc_get_rec()



This patch clean out the left function variable as it is
useless to xfs_ialloc_get_rec().

Signed-off-by: default avatarJie Liu <jeff.liu@oracle.com>
Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
Signed-off-by: default avatarBen Myers <bpm@sgi.com>
parent 427d9fe2
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -615,8 +615,7 @@ xfs_ialloc_get_rec(
	struct xfs_btree_cur	*cur,
	xfs_agino_t		agino,
	xfs_inobt_rec_incore_t	*rec,
	int			*done,
	int			left)
	int			*done)
{
	int                     error;
	int			i;
@@ -724,12 +723,12 @@ xfs_dialloc_ag(
		    pag->pagl_leftrec != NULLAGINO &&
		    pag->pagl_rightrec != NULLAGINO) {
			error = xfs_ialloc_get_rec(tcur, pag->pagl_leftrec,
						   &trec, &doneleft, 1);
						   &trec, &doneleft);
			if (error)
				goto error1;

			error = xfs_ialloc_get_rec(cur, pag->pagl_rightrec,
						   &rec, &doneright, 0);
						   &rec, &doneright);
			if (error)
				goto error1;
		} else {