* [PATCH] bdev: remove unused BVEC_ITER_ALL_INIT
@ 2026-04-03 18:48 Caleb Sander Mateos
2026-04-04 14:10 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Caleb Sander Mateos @ 2026-04-03 18:48 UTC (permalink / raw)
To: Jens Axboe; +Cc: linux-block, Caleb Sander Mateos, linux-kernel
This macro no longer has any users, so remove it.
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
---
include/linux/bvec.h | 9 ---------
1 file changed, 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
@@ -201,19 +201,10 @@ static inline void bvec_iter_advance_single(const struct bio_vec *bv,
for (iter = (start); \
(iter).bi_size && \
((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;
iter_all->idx = 0;
--
2.45.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] bdev: remove unused BVEC_ITER_ALL_INIT
2026-04-03 18:48 [PATCH] bdev: remove unused BVEC_ITER_ALL_INIT Caleb Sander Mateos
@ 2026-04-04 14:10 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2026-04-04 14:10 UTC (permalink / raw)
To: Caleb Sander Mateos; +Cc: linux-block, linux-kernel
On Fri, 03 Apr 2026 12:48:51 -0600, Caleb Sander Mateos wrote:
> This macro no longer has any users, so remove it.
Applied, thanks!
[1/1] bdev: remove unused BVEC_ITER_ALL_INIT
commit: 8b155f2e4a91f3507951e6ace4b413688ac28b96
Best regards,
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-04 14:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-03 18:48 [PATCH] bdev: remove unused BVEC_ITER_ALL_INIT Caleb Sander Mateos
2026-04-04 14:10 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox