@@ -297,24 +297,6 @@ int odp_schedule_group_thrmask(odp_schedule_group_t group,
odp_thrmask_t *thrmask);
/**
- * Initialize ordered context lock
- *
- * Initialize an ordered queue context lock. The lock can be associated only
- * with ordered queues and used only within an ordered synchronization context.
- *
- * @param lock Ordered context lock
- * @param queue Ordered queue
- *
- * @retval 0 on success
- * @retval <0 on failure
- *
- * @note At present a thread may only use a single ordered lock. Attempts to
- * use multiple ordered locks within an order context are undefined.
- */
-int odp_schedule_order_lock_init(odp_schedule_order_lock_t *lock,
- odp_queue_t queue);
-
-/**
* Acquire ordered context lock
*
* This call is valid only when holding an ordered synchronization context. The
@@ -964,12 +964,6 @@ static int create_queues(void)
qctx->ctx_handle = queue_ctx_buf;
qctx->sequence = 0;
qctx->lock_sequence = 0;
- rc = odp_schedule_order_lock_init(&qctx->order_lock, q);
-
- if (rc != 0) {
- printf("Ordered lock init failed\n");
- return -1;
- }
rc = odp_queue_context_set(q, qctx);
Remove deprecated API. This has been superseded by the lock_count parameter passed to odp_queue_create(). Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> --- include/odp/api/schedule.h | 18 ------------------ test/validation/scheduler/scheduler.c | 6 ------ 2 files changed, 24 deletions(-)