summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2023-12-04 20:47:49 +0300
committerChristian Brauner <brauner@kernel.org>2023-12-05 13:57:34 +0300
commit6ac805d13870925c787a28e3fe5cc73610cacd03 (patch)
treeb6df0ba1c951216aebc531158b804e49361a881d /fs
parentb85ea95d086471afb4ad062012a4d73cd328fa86 (diff)
downloadlinux-6ac805d13870925c787a28e3fe5cc73610cacd03.tar.xz
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 'fs')
-rw-r--r--fs/aio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/aio.c b/fs/aio.c
index f8589caef9c1..251eeaef7fbf 100644
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -1498,7 +1498,7 @@ static ssize_t aio_setup_rw(int rw, const struct iocb *iocb,
size_t len = iocb->aio_nbytes;
if (!vectored) {
- ssize_t ret = import_single_range(rw, buf, len, *iovec, iter);
+ ssize_t ret = import_single_range(rw, buf, len, iter);
*iovec = NULL;
return ret;
}