diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-03-29 09:18:26 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-03-30 08:12:29 -0600 |
commit | 6eb203e1a868187cbc23ae3bad443dc929ca6cca (patch) | |
tree | 598824294d3863812570871a0e9cc72d4bbb0134 /include/linux/uio.h | |
parent | 95e49cf8373a0a4d1ec85f0512080bb4f945df74 (diff) | |
download | lwn-6eb203e1a868187cbc23ae3bad443dc929ca6cca.tar.gz lwn-6eb203e1a868187cbc23ae3bad443dc929ca6cca.zip |
iov_iter: remove iov_iter_iovec()
No more users are left of this function.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/uio.h')
-rw-r--r-- | include/linux/uio.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/uio.h b/include/linux/uio.h index b7fce87b720e..7f585ceedcb2 100644 --- a/include/linux/uio.h +++ b/include/linux/uio.h @@ -148,15 +148,6 @@ static inline size_t iov_length(const struct iovec *iov, unsigned long nr_segs) return ret; } -static inline struct iovec iov_iter_iovec(const struct iov_iter *iter) -{ - return (struct iovec) { - .iov_base = iter_iov(iter)->iov_base + iter->iov_offset, - .iov_len = min(iter->count, - iter_iov(iter)->iov_len - iter->iov_offset), - }; -} - size_t copy_page_from_iter_atomic(struct page *page, unsigned offset, size_t bytes, struct iov_iter *i); void iov_iter_advance(struct iov_iter *i, size_t bytes); |