mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 01:22:07 +00:00
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,10 +2457,6 @@ 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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user