diff mbox series

[API-NEXT,v1,8/13] linux-gen: queue: drop two unused functions

Message ID 1501837208-7450-9-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [API-NEXT,v1,1/13] linux-gen: hide get_qentry | expand

Commit Message

Github ODP bot Aug. 4, 2017, 9 a.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 108 (lumag:symbols-cleanup)
 ** https://github.com/Linaro/odp/pull/108
 ** Patch: https://github.com/Linaro/odp/pull/108.patch
 ** Base sha: 8390f890d4bd2babb63a24f7b15d2f4763e44050
 ** Merge commit sha: 44fd671a0d2772a32395c7f0574aa545d2a9aa71
 **/
 platform/linux-generic/include/odp_queue_internal.h |  3 ---
 platform/linux-generic/odp_queue.c                  | 10 ----------
 2 files changed, 13 deletions(-)
diff mbox series

Patch

diff --git a/platform/linux-generic/include/odp_queue_internal.h b/platform/linux-generic/include/odp_queue_internal.h
index c5ff1e7d..dd846d59 100644
--- a/platform/linux-generic/include/odp_queue_internal.h
+++ b/platform/linux-generic/include/odp_queue_internal.h
@@ -61,9 +61,6 @@  union queue_entry_u {
 	uint8_t pad[ROUNDUP_CACHE_LINE(sizeof(struct queue_entry_s))];
 };
 
-void queue_lock(queue_entry_t *queue);
-void queue_unlock(queue_entry_t *queue);
-
 static inline uint32_t queue_to_id(odp_queue_t handle)
 {
 	return _odp_typeval(handle) - 1;
diff --git a/platform/linux-generic/odp_queue.c b/platform/linux-generic/odp_queue.c
index e2f8c067..7ad346ad 100644
--- a/platform/linux-generic/odp_queue.c
+++ b/platform/linux-generic/odp_queue.c
@@ -593,16 +593,6 @@  static int queue_init(queue_entry_t *queue, const char *name,
 	return 0;
 }
 
-void queue_lock(queue_entry_t *queue)
-{
-	LOCK(&queue->s.lock);
-}
-
-void queue_unlock(queue_entry_t *queue)
-{
-	UNLOCK(&queue->s.lock);
-}
-
 static void queue_param_init(odp_queue_param_t *params)
 {
 	memset(params, 0, sizeof(odp_queue_param_t));