Skip to content

Commit 2b8ed1c

Browse files
Colin Ian Kingaxboe
authored andcommitted
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 <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 78d9d7c commit 2b8ed1c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/io_uring.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4798,7 +4798,6 @@ static int io_connect(struct io_kiocb *req, unsigned int issue_flags)
47984798
ret = -ENOMEM;
47994799
goto out;
48004800
}
4801-
io = req->async_data;
48024801
memcpy(req->async_data, &__io, sizeof(__io));
48034802
return -EAGAIN;
48044803
}

0 commit comments

Comments
 (0)