ocfs2: remove some unused code
authorXue jiufei <xuejiufei@huawei.com>
Wed, 4 Jun 2014 23:06:24 +0000 (16:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:53:55 +0000 (16:53 -0700)
commite72db989e1c01fde28aabf7fd29faeaa08538e24
treee1c2565aaea24df2d9ae9048dc3a76f30f1421ee
parent17bf1418b78d9c51370f29c2b840f7d0a1bf311a
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>
fs/ocfs2/dlm/dlmcommon.h
fs/ocfs2/dlm/dlmdomain.c
fs/ocfs2/dlmglue.c