summaryrefslogtreecommitdiff
path: root/security/keys
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 /security/keys
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 'security/keys')
-rw-r--r--security/keys/keyctl.c3
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;