mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 14:12:06 +00:00
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>
This commit is contained in:
parent
78d9d7c2a3
commit
2b8ed1c941
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user