1
0
Fork 0

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>
rM2-mainline
Colin Ian King 2021-03-26 19:52:51 +00:00 committed by Jens Axboe
parent 78d9d7c2a3
commit 2b8ed1c941
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}