io_uring: remove redundant variable pointer nxt and io_wq_assign_next call
authorColin Ian King <colin.king@canonical.com>
Mon, 6 Apr 2020 22:54:39 +0000 (23:54 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 7 Apr 2020 15:45:33 +0000 (09:45 -0600)
commit211fea18a7bb9b8d51cb5d2b9cbe5583af256609
tree2edb5fc563d0c0d4348b52182104f51db624b55e
parent48bdd849e967f1c573d2b2bc24308e24a83f39c2
io_uring: remove redundant variable pointer nxt and io_wq_assign_next call

An earlier commit "io_uring: remove @nxt from handlers" removed the
setting of pointer nxt and now it is always null, hence the non-null
check and call to io_wq_assign_next is redundant and can be removed.

Addresses-Coverity: ("'Constant' variable guard")
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c