io_uring: remove unsued assignment to pointer io
authorColin Ian King <colin.king@canonical.com>
Fri, 26 Mar 2021 19:52:51 +0000 (19:52 +0000)
committerJens Axboe <axboe@kernel.dk>
Sat, 27 Mar 2021 20:09:11 +0000 (14:09 -0600)
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>
fs/io_uring.c

index 880abd8..1949b80 100644 (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;
        }