Commit 98e141f2 authored by Junxiao Bi's avatar Junxiao Bi Committed by Linus Torvalds

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: default avatarJunxiao Bi <>
Cc: Mark Fasheh <>
Cc: Joel Becker <>
Cc: Joseph Qi <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 074a6c65
......@@ -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. */
if (test_bit(idx, dlm->recovery_map))
mlog(0, "domain %s, node %u already added "
"to recovery map!\n", dlm->name, idx);
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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment