[OPW,kernel,v4,1/2] reiserfs: Remove unused field j_timestamp
diff mbox

Message ID 3216c2a49743d555ba67f63f1a34d81c588f0373.1414718402.git.ruchandani.tina@gmail.com
State New, archived
Headers show

Commit Message

Tina Ruchandani Oct. 31, 2014, 3:02 a.m. UTC
j_timestamp was introduced in function flush_old_journal_lists.

Commit 7bc9cc07ee5b ("reiserfs: remove useless flush_old_journal_lists")
removed the only place it was used.

Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
--
Changes in v2:
 - Improve commit message.
---
 fs/reiserfs/journal.c  | 1 -
 fs/reiserfs/reiserfs.h | 1 -
 2 files changed, 2 deletions(-)

Patch
diff mbox

diff --git a/fs/reiserfs/journal.c b/fs/reiserfs/journal.c
index d571e17..2bcd6ab 100644
--- a/fs/reiserfs/journal.c
+++ b/fs/reiserfs/journal.c
@@ -4108,7 +4108,6 @@  static int do_journal_end(struct reiserfs_transaction_handle *th, int flags)
 
 	atomic_set(&jl->j_older_commits_done, 0);
 	jl->j_trans_id = journal->j_trans_id;
-	jl->j_timestamp = journal->j_trans_start_time;
 	jl->j_commit_bh = c_bh;
 	jl->j_start = journal->j_start;
 	jl->j_len = journal->j_len;
diff --git a/fs/reiserfs/reiserfs.h b/fs/reiserfs/reiserfs.h
index 1894d96..8243af9 100644
--- a/fs/reiserfs/reiserfs.h
+++ b/fs/reiserfs/reiserfs.h
@@ -266,7 +266,6 @@  struct reiserfs_journal_list {
 
 	struct mutex j_commit_mutex;
 	unsigned int j_trans_id;
-	time_t j_timestamp;
 	struct reiserfs_list_bitmap *j_list_bitmap;
 	struct buffer_head *j_commit_bh;	/* commit buffer head */
 	struct reiserfs_journal_cnode *j_realblock;