diff options
author | Xue jiufei <xuejiufei@huawei.com> | 2014-06-04 16:06:24 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 16:53:55 -0700 |
commit | e72db989e1c01fde28aabf7fd29faeaa08538e24 (patch) | |
tree | e1c2565aaea24df2d9ae9048dc3a76f30f1421ee /fs/ocfs2/dlm/dlmcommon.h | |
parent | 17bf1418b78d9c51370f29c2b840f7d0a1bf311a (diff) | |
download | linux-e72db989e1c01fde28aabf7fd29faeaa08538e24.tar.gz linux-e72db989e1c01fde28aabf7fd29faeaa08538e24.tar.bz2 linux-e72db989e1c01fde28aabf7fd29faeaa08538e24.zip |
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>
Diffstat (limited to 'fs/ocfs2/dlm/dlmcommon.h')
-rw-r--r-- | fs/ocfs2/dlm/dlmcommon.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ocfs2/dlm/dlmcommon.h b/fs/ocfs2/dlm/dlmcommon.h index e0517762fcc0..a106b3f2b22a 100644 --- a/fs/ocfs2/dlm/dlmcommon.h +++ b/fs/ocfs2/dlm/dlmcommon.h @@ -108,7 +108,6 @@ static inline int dlm_is_recovery_lock(const char *lock_name, int name_len) struct dlm_recovery_ctxt { struct list_head resources; - struct list_head received; struct list_head node_data; u8 new_master; u8 dead_node; |