mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
jbd2: remove unused waitqueues
j_wait_logspace and j_wait_checkpoint are unused. Remove them. Reviewed-by: Zheng Liu <[email protected]> Signed-off-by: Jan Kara <[email protected]> Signed-off-by: "Theodore Ts'o" <[email protected]>
This commit is contained in:
parent
fe1e8db598
commit
f29fad7210
3 changed files with 0 additions and 14 deletions
|
|
@ -625,10 +625,6 @@ int __jbd2_journal_remove_checkpoint(struct journal_head *jh)
|
|||
|
||||
__jbd2_journal_drop_transaction(journal, transaction);
|
||||
jbd2_journal_free_transaction(transaction);
|
||||
|
||||
/* Just in case anybody was waiting for more transactions to be
|
||||
checkpointed... */
|
||||
wake_up(&journal->j_wait_logspace);
|
||||
ret = 1;
|
||||
out:
|
||||
return ret;
|
||||
|
|
|
|||
|
|
@ -1027,9 +1027,7 @@ static journal_t * journal_init_common (void)
|
|||
return NULL;
|
||||
|
||||
init_waitqueue_head(&journal->j_wait_transaction_locked);
|
||||
init_waitqueue_head(&journal->j_wait_logspace);
|
||||
init_waitqueue_head(&journal->j_wait_done_commit);
|
||||
init_waitqueue_head(&journal->j_wait_checkpoint);
|
||||
init_waitqueue_head(&journal->j_wait_commit);
|
||||
init_waitqueue_head(&journal->j_wait_updates);
|
||||
mutex_init(&journal->j_barrier);
|
||||
|
|
|
|||
Loading…
Reference in a new issue