diff options
author | Goldwyn Rodrigues <rgoldwyn@gmail.com> | 2013-07-03 15:00:51 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 16:07:23 -0700 |
commit | 8fa9d17f93ee8eb79d595c98cef0944f6ee5de75 (patch) | |
tree | 72f7caabae8782f13b3d5366975c295ccdd52172 /fs/ocfs2/journal.h | |
parent | 40c7f2eaf59230135fd91a398924bdbf873378ec (diff) | |
download | linux-8fa9d17f93ee8eb79d595c98cef0944f6ee5de75.tar.gz linux-8fa9d17f93ee8eb79d595c98cef0944f6ee5de75.tar.bz2 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/journal.h')
-rw-r--r-- | fs/ocfs2/journal.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ocfs2/journal.h b/fs/ocfs2/journal.h index a3385b63ff5e..0a992737dcaf 100644 --- a/fs/ocfs2/journal.h +++ b/fs/ocfs2/journal.h @@ -200,7 +200,6 @@ void ocfs2_complete_quota_recovery(struct ocfs2_super *osb); static inline void ocfs2_start_checkpoint(struct ocfs2_super *osb) { - atomic_set(&osb->needs_checkpoint, 1); wake_up(&osb->checkpoint_event); } |