aboutsummaryrefslogtreecommitdiff
path: root/include/block/coroutine.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-12-01 22:23:34 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2013-12-02 17:11:49 +0100
commitf287c41381efe172ff5dc62498e2afc83a9ab995 (patch)
tree89cea36154e910cbbb9fb28b70cf1415f32cbcca /include/block/coroutine.h
parent981cbf59b5360647e908186e7306ee9013a58c88 (diff)
coroutine: remove qemu_co_queue_wait_insert_head
qemu_co_queue_wait_insert_head() is unused in qemu code base now. Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/block/coroutine.h')
-rw-r--r--include/block/coroutine.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/block/coroutine.h b/include/block/coroutine.h
index 4d5c0cfdd7..b122c0c4fb 100644
--- a/include/block/coroutine.h
+++ b/include/block/coroutine.h
@@ -121,12 +121,6 @@ void qemu_co_queue_init(CoQueue *queue);
void coroutine_fn qemu_co_queue_wait(CoQueue *queue);
/**
- * Adds the current coroutine to the head of the CoQueue and transfers control to the
- * caller of the coroutine.
- */
-void coroutine_fn qemu_co_queue_wait_insert_head(CoQueue *queue);
-
-/**
* Restarts the next coroutine in the CoQueue and removes it from the queue.
*
* Returns true if a coroutine was restarted, false if the queue is empty.