diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-12-04 20:47:49 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-12-05 13:57:34 +0300 |
commit | 6ac805d13870925c787a28e3fe5cc73610cacd03 (patch) | |
tree | b6df0ba1c951216aebc531158b804e49361a881d /security/keys | |
parent | b85ea95d086471afb4ad062012a4d73cd328fa86 (diff) | |
download | linux-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 'security/keys')
-rw-r--r-- | security/keys/keyctl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/security/keys/keyctl.c b/security/keys/keyctl.c index 19be69fa4d05..193df7ca3ca8 100644 --- a/security/keys/keyctl.c +++ b/security/keys/keyctl.c @@ -1252,12 +1252,11 @@ long keyctl_instantiate_key(key_serial_t id, key_serial_t ringid) { if (_payload && plen) { - struct iovec iov; struct iov_iter from; int ret; ret = import_single_range(ITER_SOURCE, (void __user *)_payload, plen, - &iov, &from); + &from); if (unlikely(ret)) return ret; |