diff options
| author | Keith Busch <kbusch@kernel.org> | 2026-01-26 08:27:24 -0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-01-26 21:07:48 -0700 |
| commit | 72a41750f1a35b46caa5bbd70df7b5d3ce4f4b0a (patch) | |
| tree | 90ee0397f098ceed6d8ebb07f2eb6ed3baf5fe8a /include | |
| parent | 8e5bcc3a955a2cc4460b391f55d3b49905eb248e (diff) | |
block: remove bio_last_bvec_all
There are no more callers of this function after commit f6b2d8b134b2413
("btrfs: track the next file offset in struct btrfs_bio_ctrl"), so
remove the function.
Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/bio.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h index c75a9b3672aa..d32aee2857a9 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h @@ -256,12 +256,6 @@ static inline struct folio *bio_first_folio_all(struct bio *bio) return page_folio(bio_first_page_all(bio)); } -static inline struct bio_vec *bio_last_bvec_all(struct bio *bio) -{ - WARN_ON_ONCE(bio_flagged(bio, BIO_CLONED)); - return &bio->bi_io_vec[bio->bi_vcnt - 1]; -} - /** * struct folio_iter - State for iterating all folios in a bio. * @folio: The current folio we're iterating. NULL after the last folio. |
