Re: [PATCH] io_uring: remove redundant variable pointer nxt and io_wq_assign_next call

From: Chaitanya Kulkarni
Date: Mon Apr 06 2020 - 18:59:23 EST


On 04/06/2020 03:54 PM, Colin King wrote:
> From: Colin Ian King<colin.king@xxxxxxxxxxxxx>
>
> 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")
> Signed-off-by: Colin Ian King<colin.king@xxxxxxxxxxxxx>

Looks good.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@xxxxxxx>