summaryrefslogtreecommitdiff
path: root/lib/iov_iter.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2023-12-04 10:47:49 -0700
committerChristian Brauner <brauner@kernel.org>2023-12-05 11:57:34 +0100
commit6ac805d13870925c787a28e3fe5cc73610cacd03 (patch)
treeb6df0ba1c951216aebc531158b804e49361a881d /lib/iov_iter.c
parentb85ea95d086471afb4ad062012a4d73cd328fa86 (diff)
iov_iter: remove unused 'iov' argument from import_single_range()
It is entirely unused, just get rid of it. Signed-off-by: Jens Axboe <axboe@kernel.dk> Link: https://lore.kernel.org/r/20231204174827.1258875-2-axboe@kernel.dk Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'lib/iov_iter.c')
-rw-r--r--lib/iov_iter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/iov_iter.c b/lib/iov_iter.c
index de7d11cf4c63..d60c73354e1f 100644
--- a/lib/iov_iter.c
+++ b/lib/iov_iter.c
@@ -1370,7 +1370,7 @@ ssize_t import_iovec(int type, const struct iovec __user *uvec,
EXPORT_SYMBOL(import_iovec);
int import_single_range(int rw, void __user *buf, size_t len,
- struct iovec *iov, struct iov_iter *i)
+ struct iov_iter *i)
{
if (len > MAX_RW_COUNT)
len = MAX_RW_COUNT;