mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 19:21:28 +02:00
bcachefs: Kill dead code
Signed-off-by: Alan Huang <mmpgouride@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
62095464e9
commit
09279bba72
|
|
@ -637,8 +637,6 @@ static u64 journal_seq_to_flush(struct journal *j)
|
|||
/* Try to keep the journal at most half full: */
|
||||
nr_buckets = ja->nr / 2;
|
||||
|
||||
nr_buckets = min(nr_buckets, ja->nr);
|
||||
|
||||
bucket_to_flush = (ja->cur_idx + nr_buckets) % ja->nr;
|
||||
seq_to_flush = max(seq_to_flush,
|
||||
ja->bucket_seq[bucket_to_flush]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user