io_uring/io-wq: remove io_wq_for_each_worker() return value

The only use of this helper is to iterate all of the workers, and
hence all callers will pass in a func that always returns false to do
that. As none of the callers use the return value, get rid of it.

Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

+3 -6
+3 -6
io_uring/io-wq.c
··· 947 return ret; 948 } 949 950 - static bool io_wq_for_each_worker(struct io_wq *wq, 951 bool (*func)(struct io_worker *, void *), 952 void *data) 953 { 954 - for (int i = 0; i < IO_WQ_ACCT_NR; i++) { 955 if (io_acct_for_each_worker(&wq->acct[i], func, data)) 956 - return true; 957 - } 958 - 959 - return false; 960 } 961 962 static bool io_wq_worker_wake(struct io_worker *worker, void *data)
··· 947 return ret; 948 } 949 950 + static void io_wq_for_each_worker(struct io_wq *wq, 951 bool (*func)(struct io_worker *, void *), 952 void *data) 953 { 954 + for (int i = 0; i < IO_WQ_ACCT_NR; i++) 955 if (io_acct_for_each_worker(&wq->acct[i], func, data)) 956 + break; 957 } 958 959 static bool io_wq_worker_wake(struct io_worker *worker, void *data)