summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-03-26 19:52:51 +0000
committerJens Axboe <axboe@kernel.dk>2021-03-27 14:09:11 -0600
commit2b8ed1c94182dbbd0163d0eb443a934cbf6b0d85 (patch)
tree353dd531ab4b3a472c8abdb112b25f0e996798ab /fs
parent78d9d7c2a331fb7a68a86e53ef7e12966459e0c5 (diff)
io_uring: remove unsued assignment to pointer io
There is an assignment to io that is never read after the assignment, the assignment is redundant and can be removed. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs')
-rw-r--r--fs/io_uring.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/io_uring.c b/fs/io_uring.c
index 880abd8b6d31..1949b80677e7 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -4798,7 +4798,6 @@ static int io_connect(struct io_kiocb *req, unsigned int issue_flags)
ret = -ENOMEM;
goto out;
}
- io = req->async_data;
memcpy(req->async_data, &__io, sizeof(__io));
return -EAGAIN;
}