Skip to content

Commit 8b155f2

Browse files
calebsanderaxboe
authored andcommitted
block: remove unused BVEC_ITER_ALL_INIT
This macro no longer has any users, so remove it. Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Link: https://patch.msgid.link/20260403184852.2140919-1-csander@purestorage.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 20a8e45 commit 8b155f2

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

include/linux/bvec.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -203,15 +203,6 @@ static inline void bvec_iter_advance_single(const struct bio_vec *bv,
203203
((bvl = mp_bvec_iter_bvec((bio_vec), (iter))), 1); \
204204
bvec_iter_advance_single((bio_vec), &(iter), (bvl).bv_len))
205205

206-
/* for iterating one bio from start to end */
207-
#define BVEC_ITER_ALL_INIT (struct bvec_iter) \
208-
{ \
209-
.bi_sector = 0, \
210-
.bi_size = UINT_MAX, \
211-
.bi_idx = 0, \
212-
.bi_bvec_done = 0, \
213-
}
214-
215206
static inline struct bio_vec *bvec_init_iter_all(struct bvec_iter_all *iter_all)
216207
{
217208
iter_all->done = 0;

0 commit comments

Comments
 (0)