summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2026-04-03 21:48:51 +0300
committerJens Axboe <axboe@kernel.dk>2026-04-04 17:10:37 +0300
commit8b155f2e4a91f3507951e6ace4b413688ac28b96 (patch)
tree24afcc632d310018d7c5e775505fc3defcfd3f6a /include/linux
parent20a8e451ec1c7e99060b1bbaaad03ce88c39ddb8 (diff)
downloadlinux-8b155f2e4a91f3507951e6ace4b413688ac28b96.tar.xz
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/bvec.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/bvec.h b/include/linux/bvec.h
index 06fb60471aaf..d36dd476feda 100644
--- a/include/linux/bvec.h
+++ b/include/linux/bvec.h
@@ -203,15 +203,6 @@ static inline void bvec_iter_advance_single(const struct bio_vec *bv,
((bvl = mp_bvec_iter_bvec((bio_vec), (iter))), 1); \
bvec_iter_advance_single((bio_vec), &(iter), (bvl).bv_len))
-/* for iterating one bio from start to end */
-#define BVEC_ITER_ALL_INIT (struct bvec_iter) \
-{ \
- .bi_sector = 0, \
- .bi_size = UINT_MAX, \
- .bi_idx = 0, \
- .bi_bvec_done = 0, \
-}
-
static inline struct bio_vec *bvec_init_iter_all(struct bvec_iter_all *iter_all)
{
iter_all->done = 0;