diff options
author | Junxiao Bi <junxiao.bi@oracle.com> | 2016-01-14 18:17:47 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-14 19:00:49 -0500 |
commit | 98e141f266040fea0864c23f1f37375cae5ff02a (patch) | |
tree | 3cffbae87d6b5236973c2b3602fa21e86c4c129e /fs/ocfs2/dlm | |
parent | 074a6c655f6da12cb1123c8a84bfd8d781138800 (diff) |
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>
Diffstat (limited to 'fs/ocfs2/dlm')
-rw-r--r-- | fs/ocfs2/dlm/dlmrecovery.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/ocfs2/dlm/dlmrecovery.c b/fs/ocfs2/dlm/dlmrecovery.c index 86fb53614bf4..c5bdf02c213b 100644 --- a/fs/ocfs2/dlm/dlmrecovery.c +++ b/fs/ocfs2/dlm/dlmrecovery.c | |||
@@ -2457,11 +2457,7 @@ static void __dlm_hb_node_down(struct dlm_ctxt *dlm, int idx) | |||
2457 | * perhaps later we can genericize this for other waiters. */ | 2457 | * perhaps later we can genericize this for other waiters. */ |
2458 | wake_up(&dlm->migration_wq); | 2458 | wake_up(&dlm->migration_wq); |
2459 | 2459 | ||
2460 | if (test_bit(idx, dlm->recovery_map)) | 2460 | set_bit(idx, dlm->recovery_map); |
2461 | mlog(0, "domain %s, node %u already added " | ||
2462 | "to recovery map!\n", dlm->name, idx); | ||
2463 | else | ||
2464 | set_bit(idx, dlm->recovery_map); | ||
2465 | } | 2461 | } |
2466 | 2462 | ||
2467 | void dlm_hb_node_down_cb(struct o2nm_node *node, int idx, void *data) | 2463 | void dlm_hb_node_down_cb(struct o2nm_node *node, int idx, void *data) |