diff options
author | Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> | 2015-06-22 11:57:07 +0300 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2015-07-22 16:37:34 +0300 |
commit | cb82aeb6f0cb99767625e0897a7f867a3fe76199 (patch) | |
tree | d1aed74d9993ed4fa5245f3d6d661a7a9c6fe2eb /platform/linux-generic/include/odp_timer_internal.h | |
parent | ecc77c13a9108759d11cdf654279744ef4f5eed1 (diff) |
linux-generic: timer: use timer handles as buffer handles
It's more generic implementation simplify reusing timer API
for other platforms.
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Reviewed-by: Ola Liljedahl <ola.liljedahl@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/include/odp_timer_internal.h')
-rw-r--r-- | platform/linux-generic/include/odp_timer_internal.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/platform/linux-generic/include/odp_timer_internal.h b/platform/linux-generic/include/odp_timer_internal.h index 90af62cc8..8b0e93dc0 100644 --- a/platform/linux-generic/include/odp_timer_internal.h +++ b/platform/linux-generic/include/odp_timer_internal.h @@ -39,13 +39,4 @@ typedef struct odp_timeout_hdr_stride { uint8_t pad[ODP_CACHE_LINE_SIZE_ROUNDUP(sizeof(odp_timeout_hdr_t))]; } odp_timeout_hdr_stride; - -/** - * Return the timeout header - */ -static inline odp_timeout_hdr_t *odp_timeout_hdr(odp_buffer_t buf) -{ - return (odp_timeout_hdr_t *)odp_buf_to_hdr(buf); -} - #endif |