]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qemu-coroutine-lock.c
valgrind/i386: avoid false positives on KVM_SET_CLOCK ioctl
[mirror_qemu.git] / qemu-coroutine-lock.c
index aeb33b9118a7fec8bade8a385a7923db0efe4cd4..e4860ae42f7713b74f568ccf0c1310f7d632a08e 100644 (file)
@@ -41,14 +41,6 @@ void coroutine_fn qemu_co_queue_wait(CoQueue *queue)
     assert(qemu_in_coroutine());
 }
 
-void coroutine_fn qemu_co_queue_wait_insert_head(CoQueue *queue)
-{
-    Coroutine *self = qemu_coroutine_self();
-    QTAILQ_INSERT_HEAD(&queue->entries, self, co_queue_next);
-    qemu_coroutine_yield();
-    assert(qemu_in_coroutine());
-}
-
 /**
  * qemu_co_queue_run_restart:
  *