Messages in this thread | | | From | Chaitanya Kulkarni <> | Subject | Re: [PATCH] io_uring: remove redundant variable pointer nxt and io_wq_assign_next call | Date | Mon, 6 Apr 2020 22:59:18 +0000 |
| |
On 04/06/2020 03:54 PM, Colin King wrote: > From: Colin Ian King<colin.king@canonical.com> > > 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@canonical.com>
Looks good.
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
| |