aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/odp_ticketlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linux-generic/odp_ticketlock.c')
-rw-r--r--platform/linux-generic/odp_ticketlock.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/platform/linux-generic/odp_ticketlock.c b/platform/linux-generic/odp_ticketlock.c
deleted file mode 100644
index f73dd9ab4..000000000
--- a/platform/linux-generic/odp_ticketlock.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/* Copyright (c) 2013, Linaro Limited
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
- */
-
-#include <odp/api/plat/ticketlock_inlines.h>
-#include <odp/api/spec/ticketlock.h>
-
-void odp_ticketlock_init(odp_ticketlock_t *ticketlock)
-{
- odp_atomic_init_u32(&ticketlock->next_ticket, 0);
- odp_atomic_init_u32(&ticketlock->cur_ticket, 0);
-}
-
-/* Include non-inlined versions of API functions */
-#if ODP_ABI_COMPAT == 1
-#include <odp/api/plat/ticketlock_inlines_api.h>
-#endif