aboutsummaryrefslogtreecommitdiff
path: root/include/qemu/co-shared-resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qemu/co-shared-resource.h')
-rw-r--r--include/qemu/co-shared-resource.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/qemu/co-shared-resource.h b/include/qemu/co-shared-resource.h
index 78ca585..41be1a8 100644
--- a/include/qemu/co-shared-resource.h
+++ b/include/qemu/co-shared-resource.h
@@ -45,13 +45,6 @@ SharedResource *shres_create(uint64_t total);
void shres_destroy(SharedResource *s);
/*
- * Try to allocate an amount of @n. Return true on success, and false
- * if there is too little left of the collective resource to fulfill
- * the request.
- */
-bool co_try_get_from_shres(SharedResource *s, uint64_t n);
-
-/*
* Allocate an amount of @n, and, if necessary, yield until
* that becomes possible.
*/