diff mbox series

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

Message ID 1501837208-7450-3-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, 8:59 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_buffer_internal.h |  4 ----
 platform/linux-generic/odp_pool.c                    | 13 -------------
 2 files changed, 17 deletions(-)
diff mbox series

Patch

diff --git a/platform/linux-generic/include/odp_buffer_internal.h b/platform/linux-generic/include/odp_buffer_internal.h
index 7eb0cdf9..873822af 100644
--- a/platform/linux-generic/include/odp_buffer_internal.h
+++ b/platform/linux-generic/include/odp_buffer_internal.h
@@ -110,10 +110,6 @@  ODP_STATIC_ASSERT(CONFIG_PACKET_MAX_SEGS < 256,
 
 ODP_STATIC_ASSERT(BUFFER_BURST_SIZE < 256, "BUFFER_BURST_SIZE_TOO_LARGE");
 
-/* Forward declarations */
-int seg_alloc_tail(odp_buffer_hdr_t *buf_hdr, int segcount);
-void seg_free_tail(odp_buffer_hdr_t *buf_hdr, int segcount);
-
 #ifdef __cplusplus
 }
 #endif
diff --git a/platform/linux-generic/odp_pool.c b/platform/linux-generic/odp_pool.c
index 3f7013b4..ade65c17 100644
--- a/platform/linux-generic/odp_pool.c
+++ b/platform/linux-generic/odp_pool.c
@@ -901,19 +901,6 @@  uint64_t odp_pool_to_u64(odp_pool_t hdl)
 	return _odp_pri(hdl);
 }
 
-int seg_alloc_tail(odp_buffer_hdr_t *buf_hdr,  int segcount)
-{
-	(void)buf_hdr;
-	(void)segcount;
-	return 0;
-}
-
-void seg_free_tail(odp_buffer_hdr_t *buf_hdr, int segcount)
-{
-	(void)buf_hdr;
-	(void)segcount;
-}
-
 int odp_buffer_is_valid(odp_buffer_t buf)
 {
 	pool_t *pool;