summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/ocfs2.h
diff options
context:
space:
mode:
authorGoldwyn Rodrigues2013-07-04 00:00:51 +0200
committerLinus Torvalds2013-07-04 01:07:23 +0200
commit8fa9d17f93ee8eb79d595c98cef0944f6ee5de75 (patch)
tree72f7caabae8782f13b3d5366975c295ccdd52172 /fs/ocfs2/ocfs2.h
parentocfs2: add missing dlm_put() in dlm_begin_reco_handler() (diff)
downloadkernel-qcow2-linux-8fa9d17f93ee8eb79d595c98cef0944f6ee5de75.tar.gz
kernel-qcow2-linux-8fa9d17f93ee8eb79d595c98cef0944f6ee5de75.tar.xz
kernel-qcow2-linux-8fa9d17f93ee8eb79d595c98cef0944f6ee5de75.zip
ocfs2: remove unecessary variable needs_checkpoint
Code cleanup: needs_checkpoint is assigned to but never used. Delete the variable. Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com> Cc: Jeff Liu <jeff.liu@oracle.com> Acked-by: 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/ocfs2.h')
-rw-r--r--fs/ocfs2/ocfs2.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ocfs2/ocfs2.h b/fs/ocfs2/ocfs2.h
index d355e6e36b36..3a903470c794 100644
--- a/fs/ocfs2/ocfs2.h
+++ b/fs/ocfs2/ocfs2.h
@@ -347,7 +347,6 @@ struct ocfs2_super
struct task_struct *recovery_thread_task;
int disable_recovery;
wait_queue_head_t checkpoint_event;
- atomic_t needs_checkpoint;
struct ocfs2_journal *journal;
unsigned long osb_commit_interval;