io_uring: remove duplicate IO_WQ_BIT_EXIT check
PATCH 1/1 io_uring: remove duplicate IO_WQ_BIT_EXIT check
remove duplicate IO_WQ_BIT_EXIT check since we do it in while()
Signed-off-by Hao Xu <[email protected]>
--- fs/io-wq.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
fs/io-wq.c +1 -2
@@ -503,8 +503,7 @@ static int io_wqe_worker(void *data)if (fatal_signal_pending (current))break ;/* timed out, exit unless we're the fixed worker */ -if (test_bit (IO_WQ_BIT_EXIT , &wq->state) || - !(worker->flags &IO_WORKER_F_FIXED )) +if (!(worker->flags &IO_WORKER_F_FIXED ))break ; }
Signature · 1 line
1.8.3.1