aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_buffer_internal.h
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@linaro.org>2018-08-17 10:16:57 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2018-08-20 17:50:35 +0300
commitcbf59d43c2eabfc92252faf6f92496b570b87c69 (patch)
tree98986df31c55ce58035f12826fbf7dbd13018c41 /platform/linux-generic/include/odp_buffer_internal.h
parent0cf079bb8c66b317b0c1c841264087c65866d5d5 (diff)
linux-gen: queue: remove enq/deq from queue interface
Use inlined queue enqueue and dequeue functions instead of internal interface versions. Removed functions from internal interface. Original dequeue multi call remains for overriding dequeue calls (e.g. packet input overrides queue dequeue function but uses the original queue). Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/include/odp_buffer_internal.h')
-rw-r--r--platform/linux-generic/include/odp_buffer_internal.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/platform/linux-generic/include/odp_buffer_internal.h b/platform/linux-generic/include/odp_buffer_internal.h
index 48e74dd21..c6e1345d8 100644
--- a/platform/linux-generic/include/odp_buffer_internal.h
+++ b/platform/linux-generic/include/odp_buffer_internal.h
@@ -120,11 +120,6 @@ static inline odp_buffer_t buf_from_buf_hdr(odp_buffer_hdr_t *hdr)
return (odp_buffer_t)hdr;
}
-static inline odp_event_t event_from_buf_hdr(odp_buffer_hdr_t *hdr)
-{
- return (odp_event_t)hdr;
-}
-
#ifdef __cplusplus
}
#endif