mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
ocfs2: remove some unused code
dlm_recovery_ctxt.received is unused. ocfs2_should_refresh_lock_res() can only return 0 or 1, so the error handling code in ocfs2_super_lock() is unneeded. Signed-off-by: joyce.xue <xuejiufei@huawei.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: Mark Fasheh <mfasheh@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
17bf1418b7
commit
e72db989e1
@@ -2034,7 +2034,6 @@ static struct dlm_ctxt *dlm_alloc_ctxt(const char *domain,
|
||||
INIT_LIST_HEAD(&dlm->list);
|
||||
INIT_LIST_HEAD(&dlm->dirty_list);
|
||||
INIT_LIST_HEAD(&dlm->reco.resources);
|
||||
INIT_LIST_HEAD(&dlm->reco.received);
|
||||
INIT_LIST_HEAD(&dlm->reco.node_data);
|
||||
INIT_LIST_HEAD(&dlm->purge_list);
|
||||
INIT_LIST_HEAD(&dlm->dlm_domain_handlers);
|
||||
|
||||
Reference in New Issue
Block a user