mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
bcachefs: kill bch_read_bio.devs_have
Dead code. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
3075e68d26
commit
9f37016cb2
|
|
@ -1070,8 +1070,6 @@ int __bch2_read_extent(struct btree_trans *trans, struct bch_read_bio *orig,
|
|||
rbio->hole = 0;
|
||||
rbio->retry = 0;
|
||||
rbio->context = 0;
|
||||
/* XXX: only initialize this if needed */
|
||||
rbio->devs_have = bch2_bkey_devs(k);
|
||||
rbio->pick = pick;
|
||||
rbio->subvol = orig->subvol;
|
||||
rbio->read_pos = read_pos;
|
||||
|
|
|
|||
|
|
@ -47,8 +47,6 @@ struct bch_read_bio {
|
|||
u16 _state;
|
||||
};
|
||||
|
||||
struct bch_devs_list devs_have;
|
||||
|
||||
struct extent_ptr_decoded pick;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user