ocfs2: dlm: remove redundant code
Found this when do patch review, remove to make it clear and save a little cpu time. Signed-off-by: Junxiao Bi <junxiao.bi@oracle.com> Cc: Mark Fasheh <mfasheh@suse.de> Cc: Joel Becker <jlbec@evilplan.org> Cc: Joseph Qi <joseph.qi@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
074a6c655f
commit
98e141f266
|
@ -2457,11 +2457,7 @@ static void __dlm_hb_node_down(struct dlm_ctxt *dlm, int idx)
|
|||
* perhaps later we can genericize this for other waiters. */
|
||||
wake_up(&dlm->migration_wq);
|
||||
|
||||
if (test_bit(idx, dlm->recovery_map))
|
||||
mlog(0, "domain %s, node %u already added "
|
||||
"to recovery map!\n", dlm->name, idx);
|
||||
else
|
||||
set_bit(idx, dlm->recovery_map);
|
||||
set_bit(idx, dlm->recovery_map);
|
||||
}
|
||||
|
||||
void dlm_hb_node_down_cb(struct o2nm_node *node, int idx, void *data)
|
||||
|
|
Loading…
Reference in New Issue