ocfs2: dlm: remove redundant code
PATCH 1/1 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 <[email protected]>
--- fs/ocfs2/dlm/dlmrecovery.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
fs/ocfs2/dlm/dlmrecovery.c +1 -5
@@ -2450,11 +2450,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)
Signature · 1 line
1.7.9.5