From: Tao Ma Date: Mon, 2 Aug 2010 03:02:13 +0000 (+0800) Subject: ocfs2: Remove unused old_id in ocfs2_commit_cache. X-Git-Tag: v2.6.37-rc1~182^2~16 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=f9c57ada32ea3f2e12600cf274035fff063b2e0f;p=~emulex%2Finfiniband.git ocfs2: Remove unused old_id in ocfs2_commit_cache. Signed-off-by: Tao Ma Signed-off-by: Joel Becker --- diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c index 04d41dfeab9..5787802c2d6 100644 --- a/fs/ocfs2/journal.c +++ b/fs/ocfs2/journal.c @@ -301,7 +301,6 @@ static int ocfs2_commit_cache(struct ocfs2_super *osb) { int status = 0; unsigned int flushed; - unsigned long old_id; struct ocfs2_journal *journal = NULL; mlog_entry_void(); @@ -326,7 +325,7 @@ static int ocfs2_commit_cache(struct ocfs2_super *osb) goto finally; } - old_id = ocfs2_inc_trans_id(journal); + ocfs2_inc_trans_id(journal); flushed = atomic_read(&journal->j_num_trans); atomic_set(&journal->j_num_trans, 0);