Displaying 1 result from an estimated 1 matches for "l1379".
Did you mean:
1379
2009 May 07
3
[PATCH] ocfs2_cluster_lock: code cleanup for redundant assignment
...wait = 0;
1376 if (lockres_remove_mask_waiter(lockres, &mw))
1377 ret = -EAGAIN;
1378 else
1379 goto again;
1380 }
On L1375 variable 'wait' is assigned to 0. But if execution path goes to L1379
and jumps to label 'again:' on L1262, there is already an assignment to 'wait'
on L1263:
1262 again:
1263 wait = 0;
1264
The previous 'wait = 0' on L1375 is redundant in this case. This patch removes
such a redundant variable assignment.
Signed-off-by: Coly Li <...