bcachefs: kill bch_read_bio.devs_have

Dead code.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2025-01-17 10:47:42 -05:00
parent 3075e68d26
commit 9f37016cb2
2 changed files with 0 additions and 4 deletions

View File

@ -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;

View File

@ -47,8 +47,6 @@ struct bch_read_bio {
u16 _state;
};
struct bch_devs_list devs_have;
struct extent_ptr_decoded pick;
/*