]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/9pfs/coth.c
thread-pool: avoid passing the pool parameter every time
[mirror_qemu.git] / hw / 9pfs / coth.c
index 2802d41cce20114090f593afe22c19ba07bd8ce6..598f46add9936c83ea3594e601329a634313576f 100644 (file)
@@ -41,6 +41,5 @@ static int coroutine_enter_func(void *arg)
 void co_run_in_worker_bh(void *opaque)
 {
     Coroutine *co = opaque;
-    thread_pool_submit_aio(aio_get_thread_pool(qemu_get_aio_context()),
-                           coroutine_enter_func, co, coroutine_enter_cb, co);
+    thread_pool_submit_aio(coroutine_enter_func, co, coroutine_enter_cb, co);
 }