Displaying 1 result from an estimated 1 matches for "l1375".
Did you mean:
1375
2009 May 07
3
[PATCH] ocfs2_cluster_lock: code cleanup for redundant assignment
...mw.mw_mask & (OCFS2_LOCK_BUSY|OCFS2_LOCK_BLOCKED)) {
1375 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 p...